-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDirectory.Build.props
33 lines (33 loc) · 1.35 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
<?xml version="1.0" encoding="utf-8"?>
<Project>
<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
<Nullable>enable</Nullable>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>
<PropertyGroup>
<RepoRoot>$([System.IO.Path]::GetDirectoryName($([MSBuild]::GetPathOfFileAbove('.gitignore',
'$(MSBuildThisFileDirectory)'))))</RepoRoot>
</PropertyGroup>
<PropertyGroup>
<NoWarn>$(NoWarn);AD0001</NoWarn>
</PropertyGroup>
<ItemGroup>
<None Pack="true" PackagePath="" Include="$(RepoRoot)/LICENSE" />
<None Pack="true" PackagePath="" Include="$(RepoRoot)/README.md" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="InfinityFlow.Tools.Branding" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="GitVersion.MsBuild">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.SourceLink.GitHub">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>
</Project>