From d16d9f904b2410e39f07127ce7dd710b2c84c6f1 Mon Sep 17 00:00:00 2001 From: Christoph Wille Date: Mon, 9 Nov 2026 07:38:49 +0100 Subject: [PATCH] Migrate ReferenceAssemblyAnnotator.sln to .slnx Generated with `dotnet sln ReferenceAssemblyAnnotator.sln migrate`; the CI workflow and CLAUDE.md now build the .slnx. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/build.yml | 2 +- CLAUDE.md | 2 +- ReferenceAssemblyAnnotator.sln | 40 --------------------------------- ReferenceAssemblyAnnotator.slnx | 11 +++++++++ 4 files changed, 13 insertions(+), 42 deletions(-) delete mode 100644 ReferenceAssemblyAnnotator.sln create mode 100644 ReferenceAssemblyAnnotator.slnx diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3a8aeea..c0fe376 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -34,7 +34,7 @@ jobs: uses: microsoft/setup-msbuild@v3 - name: Build and pack - run: dotnet build ReferenceAssemblyAnnotator.sln -c $env:Configuration + run: dotnet build ReferenceAssemblyAnnotator.slnx -c $env:Configuration - name: Test (dotnet msbuild) run: ./build/test.ps1 -Configuration $env:Configuration -Engine dotnet -PackagesPath $env:TestPackages diff --git a/CLAUDE.md b/CLAUDE.md index 69b5606..c811463 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -11,7 +11,7 @@ An IL weaver shipped as a NuGet package (`ICSharpCode.ReferenceAssemblyAnnotator `global.json` selects the newest installed SDK 11 (prerelease allowed). Windows is required for the full test matrix (net35/net48, WPF, msbuild.exe). ``` -dotnet build ReferenceAssemblyAnnotator.sln -c Release +dotnet build ReferenceAssemblyAnnotator.slnx -c Release ``` - `GeneratePackageOnBuild` is on: the build writes the `.nupkg` to `ICSharpCode.ReferenceAssemblyAnnotator/bin//`. The version comes from Nerdbank.GitVersioning (`version.json`), so it only reflects committed changes. diff --git a/ReferenceAssemblyAnnotator.sln b/ReferenceAssemblyAnnotator.sln deleted file mode 100644 index 9e64bdb..0000000 --- a/ReferenceAssemblyAnnotator.sln +++ /dev/null @@ -1,40 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 16 -VisualStudioVersion = 16.0.29209.152 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CecilBasedAnnotator", "CecilBasedAnnotator\CecilBasedAnnotator.csproj", "{802A569B-9ABD-43C2-8A4D-4E9946023A44}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ICSharpCode.ReferenceAssemblyAnnotator", "ICSharpCode.ReferenceAssemblyAnnotator\ICSharpCode.ReferenceAssemblyAnnotator.csproj", "{8133EC1F-B531-4094-A76E-F155E4117D30}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{51FA6781-3E2C-4F33-9A73-D789899E93B6}" - ProjectSection(SolutionItems) = preProject - .editorconfig = .editorconfig - Directory.Build.props = Directory.Build.props - Directory.Build.targets = Directory.Build.targets - global.json = global.json - stylecop.json = stylecop.json - EndProjectSection -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {802A569B-9ABD-43C2-8A4D-4E9946023A44}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {802A569B-9ABD-43C2-8A4D-4E9946023A44}.Debug|Any CPU.Build.0 = Debug|Any CPU - {802A569B-9ABD-43C2-8A4D-4E9946023A44}.Release|Any CPU.ActiveCfg = Release|Any CPU - {802A569B-9ABD-43C2-8A4D-4E9946023A44}.Release|Any CPU.Build.0 = Release|Any CPU - {8133EC1F-B531-4094-A76E-F155E4117D30}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {8133EC1F-B531-4094-A76E-F155E4117D30}.Debug|Any CPU.Build.0 = Debug|Any CPU - {8133EC1F-B531-4094-A76E-F155E4117D30}.Release|Any CPU.ActiveCfg = Release|Any CPU - {8133EC1F-B531-4094-A76E-F155E4117D30}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {C55A8357-6A90-434B-B929-EB5127E06FC9} - EndGlobalSection -EndGlobal diff --git a/ReferenceAssemblyAnnotator.slnx b/ReferenceAssemblyAnnotator.slnx new file mode 100644 index 0000000..9e287de --- /dev/null +++ b/ReferenceAssemblyAnnotator.slnx @@ -0,0 +1,11 @@ + + + + + + + + + + +