Skip to content

Commit

Permalink
Accelerate local builds in Visual Studio (#3026)
Browse files Browse the repository at this point in the history
* 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 dotnet/project-system#8865) No harm for netcore projects as these produce those ref asms by default.
  • Loading branch information
christophwille authored Jul 24, 2023
1 parent 3b062be commit b482ae9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<Project>
<PropertyGroup>
<AccelerateBuildsInVisualStudio>true</AccelerateBuildsInVisualStudio>
<ProduceReferenceAssembly>true</ProduceReferenceAssembly>
</PropertyGroup>
</Project>

0 comments on commit b482ae9

Please sign in to comment.