diff --git a/Src/CSharpier.MsBuild/README.md b/Src/CSharpier.MsBuild/README.md index 8c9de1d91..8b0903a35 100644 --- a/Src/CSharpier.MsBuild/README.md +++ b/Src/CSharpier.MsBuild/README.md @@ -4,13 +4,7 @@ One way to test the changes in the build/* files - Edit those files at `C:\Users\[Username]\.nuget\packages\csharpier.msbuild\[VersionNumber]\build` - Ensure you revert those files and make the same changes to the files here. -Another way to test - -- Making any changes you want -```powershell -Import-Module (RepoRoot)/Shell/Init.ps1 -CSH-BuildPackages -``` -- change the version in CSharpier.MSBuild.Test.csproj (until we update to 0.25.0 or higher), then it can be $(Version) -- Running this from the root `docker build . -f ./Src/CSharpier.MsBuild.Test/Dockerfile` - +Another way +- the validate PR GH action does this, currently only uses the net8 sdk +- dotnet pack Src/CSharpier.MsBuild/CSharpier.MsBuild.csproj -o nupkg /p:Version=0.0.1 +- docker build -f ./Tests/CSharpier.MsBuild.Test/Dockerfile . diff --git a/Src/CSharpier.MsBuild/build/CSharpier.MsBuild.targets b/Src/CSharpier.MsBuild/build/CSharpier.MsBuild.targets index edf51723a..7ae2d4133 100644 --- a/Src/CSharpier.MsBuild/build/CSharpier.MsBuild.targets +++ b/Src/CSharpier.MsBuild/build/CSharpier.MsBuild.targets @@ -26,7 +26,7 @@ - + diff --git a/Tests/CSharpier.MsBuild.Test/net48/net48.csproj b/Tests/CSharpier.MsBuild.Test/net48/net48.csproj index 09fec49d8..2567b4dc6 100644 --- a/Tests/CSharpier.MsBuild.Test/net48/net48.csproj +++ b/Tests/CSharpier.MsBuild.Test/net48/net48.csproj @@ -4,6 +4,7 @@ false library net48 + net8.0 diff --git a/Tests/CSharpier.MsBuild.Test/net7.0/net7.0.csproj b/Tests/CSharpier.MsBuild.Test/net7.0/net7.0.csproj index 0704b982f..170364e7b 100644 --- a/Tests/CSharpier.MsBuild.Test/net7.0/net7.0.csproj +++ b/Tests/CSharpier.MsBuild.Test/net7.0/net7.0.csproj @@ -4,6 +4,7 @@ false library net7.0 + net8.0