-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathDirectory.Build.props
32 lines (27 loc) · 1.41 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
<Project>
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
</PropertyGroup>
<PropertyGroup Condition="'$(GITHUB_ACTIONS)' == 'true'">
<!-- https://github.com/dotnet/sourcelink/tree/main/docs#continuousintegrationbuild -->
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
<!-- https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/compiler-options/code-generation#deterministic -->
<Deterministic>true</Deterministic>
<!-- https://github.com/dotnet/sourcelink/tree/main/docs#deterministicsourcepaths -->
<DeterministicSourcePaths>true</DeterministicSourcePaths>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Meziantou.Analyzer">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>
<PropertyGroup>
<!-- https://github.com/meziantou/Meziantou.Analyzer/tree/main/docs/Rules -->
<!-- MA0048: File name must match type name -->
<!-- MA0051: Method is too long -->
<!-- MA0097: A class that implements IComparable<T> or IComparable should override comparison operators -->
<NoWarn>MA0048,MA0051,MA0097</NoWarn>
</PropertyGroup>
</Project>