From e54acf10cc421b9b986820ef8df39238cabff970 Mon Sep 17 00:00:00 2001 From: Andrew Arnott Date: Sat, 22 Oct 2022 08:47:10 -0600 Subject: [PATCH 1/2] Remove inner project from ProjectReference items by default This should avoid the vast majority of the P2P problems introduced by trying to work in `msbuild -graph -isolate`. --- .../build/MSBuildTargetCaching.targets | 25 +++++++++++-------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/src/Nerdbank.GitVersioning.Tasks/build/MSBuildTargetCaching.targets b/src/Nerdbank.GitVersioning.Tasks/build/MSBuildTargetCaching.targets index 8f864fc54..3f367900f 100644 --- a/src/Nerdbank.GitVersioning.Tasks/build/MSBuildTargetCaching.targets +++ b/src/Nerdbank.GitVersioning.Tasks/build/MSBuildTargetCaching.targets @@ -18,8 +18,7 @@ - - + GetBuildVersion_Properties;GetBuildVersion_CloudBuildVersionVars $(NBGV_InnerGlobalProperties)BuildMetadata=@(BuildMetadata, ','); Configuration=Release @@ -31,8 +30,14 @@ false true false - true all + + + + + true @@ -41,19 +46,17 @@ - - From 51cf091064fcc00682a3aa7f89792e52816874ac Mon Sep 17 00:00:00 2001 From: Andrew Arnott Date: Sat, 22 Oct 2022 09:03:53 -0600 Subject: [PATCH 2/2] Add Microsoft.NETFramework.ReferenceAssemblies to resolve net462 targeting framework error --- Directory.Build.props | 1 + 1 file changed, 1 insertion(+) diff --git a/Directory.Build.props b/Directory.Build.props index 595cbcf08..46896a515 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -40,6 +40,7 @@ 2.0.315-alpha.0.9 +