Skip to content

Instantly share code, notes, and snippets.

@mirmostafa
Created June 12, 2024 12:46
Show Gist options
  • Save mirmostafa/0385444e3ac0f3253123619699112457 to your computer and use it in GitHub Desktop.
Save mirmostafa/0385444e3ac0f3253123619699112457 to your computer and use it in GitHub Desktop.
Build acceleration
<Project>
<!--
This Directory.Build.props files sets default properties that apply to all projects found in
this folder or subfolders, recursively.
-->
<PropertyGroup>
<!-- Enable Build Acceleration in Visual Studio. -->
<AccelerateBuildsInVisualStudio>true</AccelerateBuildsInVisualStudio>
<!--
If you target a framework earlier than .NET 5 (including .NET Framework and .NET Standard),
you should set ProduceReferenceAssembly to true in order to speed incremental builds.
If you multi-target and any target is before .NET 5, you need this.
Even if you target .NET 5 or later, having this property is fine.
-->
<ProduceReferenceAssembly>true</ProduceReferenceAssembly>
</PropertyGroup>
</Project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment