Browse Source

Update README.md and build scripts

pull/2523/head
Siegfried Pammer 4 years ago
parent
commit
00383f67d2
  1. 6
      .github/workflows/build-frontends.yml
  2. 2
      .github/workflows/codeql-analysis.yml
  3. 6
      README.md

6
.github/workflows/build-frontends.yml

@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
name: Build Frontends
name: Build XPlat Frontends
on:
push:
@ -20,7 +20,7 @@ jobs: @@ -20,7 +20,7 @@ jobs:
with:
dotnet-version: 5.0.x
- name: Install dependencies
run: dotnet restore Frontends.sln
run: dotnet restore ILSpy.XPlat.slnf
- name: Build
run: dotnet build Frontends.sln --configuration Debug --no-restore
run: dotnet build ILSpy.XPlat.slnf --configuration Debug --no-restore

2
.github/workflows/codeql-analysis.yml

@ -32,7 +32,7 @@ jobs: @@ -32,7 +32,7 @@ jobs:
with:
dotnet-version: 5.0.x
- name: Build
run: dotnet build Frontends.sln --configuration Release
run: dotnet build ILSpy.XPlat.slnf --configuration Release
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1

6
README.md

@ -57,6 +57,10 @@ How to build @@ -57,6 +57,10 @@ How to build
- NuGet package restore will automatically download further dependencies
- Run project "ILSpy" for the ILSpy UI
- Use the Visual Studio "Test Explorer" to see/run the tests
- If you are only interested in a specific subset of ILSpy, you can also use
- ILSpy.Wpf.slnf: for the ILSpy WPF frontend
- ILSpy.XPlat.slnf: for the cross-platform CLI or PowerShell cmdlets
- ILSpy.AddIn.slnf: for the Visual Studio plugin
**Note:** Visual Studio 16.3 and later include a version of the .NET (Core) SDK that is managed by the Visual Studio installer - once you update, it may get upgraded too.
Please note that ILSpy is only compatible with the .NET 5.0 SDK and Visual Studio will refuse to load some projects in the solution (and unit tests will fail).
@ -68,7 +72,7 @@ If this problem occurs, please manually install the .NET 5.0 SDK from [here](htt @@ -68,7 +72,7 @@ If this problem occurs, please manually install the .NET 5.0 SDK from [here](htt
- Make sure [PowerShell](https://github.com/PowerShell/PowerShell) is installed (formerly known as PowerShell Core)
- Clone the repository using git.
- Execute `git submodule update --init --recursive` to download the ILSpy-Tests submodule (used by some test cases).
- Use `dotnet build Frontends.sln` to build the non-Windows flavors of ILSpy (.NET Core Global Tool and PowerShell Core).
- Use `dotnet build ILSpy.XPlat.slnf` to build the non-Windows flavors of ILSpy (.NET Core Global Tool and PowerShell Core).
How to contribute
-----------------

Loading…
Cancel
Save