From b482ae937f9dafa63b5c13916c01963b9bd6f8ac Mon Sep 17 00:00:00 2001 From: Christoph Wille Date: Mon, 24 Jul 2023 13:17:38 +0200 Subject: [PATCH] Accelerate local builds in Visual Studio (#3026) * Accelerate builds of SDK-style .NET projects https://github.com/dotnet/project-system/blob/main/docs/build-acceleration.md#validate-builds-are-accelerated * Verbose logging produced "Ensure projects producing the following outputs have the 'ProduceReferenceAssembly' MSBuild property set to 'true': 'D:\GitWorkspace\ILSpy\ICSharpCode.Decompiler\bin\Debug\netstandard2.0\ICSharpCode.Decompiler.dll'" - this relates to the documented problem of netstandard2.0 projects not generating the necessary reference assemblies (direct issue link https://github.com/dotnet/project-system/issues/8865) No harm for netcore projects as these produce those ref asms by default. --- Directory.Build.props | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 Directory.Build.props diff --git a/Directory.Build.props b/Directory.Build.props new file mode 100644 index 0000000000..77581ed883 --- /dev/null +++ b/Directory.Build.props @@ -0,0 +1,6 @@ + + + true + true + + \ No newline at end of file