forked from castleproject-deprecated/Transactions
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Directory.Build.props
39 lines (29 loc) · 1.65 KB
/
Directory.Build.props
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!--
PROPERTIES
-->
<PropertyGroup>
<!--
https://github.com/dotnet/project-system/blob/main/docs/build-acceleration.md
https://devblogs.microsoft.com/visualstudio/vs-toolbox-accelerate-your-builds-of-sdk-style-net-projects/
https://github.com/dotnet/project-system/issues/9106
-->
<!-- 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>
<Import Project="Solution.Build.Properties.props" Condition="Exists('Solution.Build.Properties.props')" />
<PropertyGroup>
<BuildConfigurationFolderName Condition="'$(BuildConfigurationFolderName)' == ''">build</BuildConfigurationFolderName>
<SolutionDir Condition="'$(SolutionDir)' == ''">$(MSBuildThisFileDirectory)</SolutionDir>
<WorkspaceFolderPath Condition="'$(WorkspaceFolderPath)' == ''">$(SolutionDir)</WorkspaceFolderPath>
<BuildConfigurationFolderPath Condition="'$(BuildConfigurationFolderPath)' == ''">$(WorkspaceFolderPath)$(BuildConfigurationFolderName)\</BuildConfigurationFolderPath>
</PropertyGroup>
<Import Project="$(BuildConfigurationFolderPath)Solution.Build.props" />
</Project>