From 947e614f26913cc0544c4c18aa1d33264a9da7ea Mon Sep 17 00:00:00 2001 From: stan-sz <37585349+stan-sz@users.noreply.github.com> Date: Tue, 24 Sep 2024 18:11:56 +0200 Subject: [PATCH] Use CopyOnWrite 0.3.10 (#569) * Use CopyOnWrite 0.3.9 Consume the fix published in https://github.com/microsoft/CopyOnWrite/pull/45/files * Update Directory.Packages.props * Fix the tests --- Directory.Packages.props | 5 +++-- .../Microsoft.Build.CopyOnWrite.UnitTests.csproj | 3 ++- src/NoTargets.UnitTests/NoTargetsTests.cs | 2 ++ 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index dbff5b2..3cf35d8 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -7,13 +7,14 @@ 17.8.3 - - + + + diff --git a/src/CopyOnWrite.UnitTests/Microsoft.Build.CopyOnWrite.UnitTests.csproj b/src/CopyOnWrite.UnitTests/Microsoft.Build.CopyOnWrite.UnitTests.csproj index 845450c..9145560 100644 --- a/src/CopyOnWrite.UnitTests/Microsoft.Build.CopyOnWrite.UnitTests.csproj +++ b/src/CopyOnWrite.UnitTests/Microsoft.Build.CopyOnWrite.UnitTests.csproj @@ -5,7 +5,7 @@ - + @@ -13,6 +13,7 @@ + diff --git a/src/NoTargets.UnitTests/NoTargetsTests.cs b/src/NoTargets.UnitTests/NoTargetsTests.cs index f17405f..8916de1 100644 --- a/src/NoTargets.UnitTests/NoTargetsTests.cs +++ b/src/NoTargets.UnitTests/NoTargetsTests.cs @@ -269,7 +269,9 @@ public void SimpleBuild(string projectExtension) } [Theory] +#if !NETFRAMEWORK [InlineData(".csproj")] +#endif [InlineData(".proj", Skip = "Currently broken because of a regression in Static Graph when the extension is .proj")] public void StaticGraphBuildsSucceed(string projectExtension) {