From 00383f67d21b130c39d0ba79129312a7986a5aa3 Mon Sep 17 00:00:00 2001 From: Siegfried Pammer Date: Fri, 15 Oct 2021 13:38:32 +0200 Subject: [PATCH] Update README.md and build scripts --- .github/workflows/build-frontends.yml | 6 +++--- .github/workflows/codeql-analysis.yml | 2 +- README.md | 6 +++++- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-frontends.yml b/.github/workflows/build-frontends.yml index e43ff5a63..a494c4687 100644 --- a/.github/workflows/build-frontends.yml +++ b/.github/workflows/build-frontends.yml @@ -1,4 +1,4 @@ -name: Build Frontends +name: Build XPlat Frontends on: push: @@ -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 diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index a72457048..2e0782e15 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -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 diff --git a/README.md b/README.md index 91406adb4..53876d440 100644 --- a/README.md +++ b/README.md @@ -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 - 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 -----------------