-
Notifications
You must be signed in to change notification settings - Fork 1
/
Directory.Build.targets
30 lines (24 loc) · 1.22 KB
/
Directory.Build.targets
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
<Project>
<!-- Recursively import the Directory.Build.targets file from the parent folder if it exists. -->
<PropertyGroup>
<ParentProject>$([MSBuild]::GetPathOfFileAbove('$(MSBuildThisFile)', '$(MSBuildThisFileDirectory)../'))</ParentProject>
</PropertyGroup>
<Import Project="$(ParentProject)" Condition=" '$(ParentProject)' != '' " />
<!-- Enable .NET code analyzers for projects targeting earlier than .NET 5.0 (requires .NET 5.0
SDK or later to be installed). -->
<PropertyGroup>
<AnalysisMode Condition=" '$(AnalysisMode)' == '' ">Default</AnalysisMode>
</PropertyGroup>
<!-- SourceLink settings -->
<PropertyGroup>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
</PropertyGroup>
<!-- .NET Framework targeting support (required to allow compilation against .NET Framework in
non-Windows environments). -->
<Import Project=".\build\NetFX.targets" />
<!-- Extension point to allow Continuous Integration systems to inject their own configuration. -->
<Import Project="CI.targets" Condition="Exists('CI.targets')" />
</Project>