-
Notifications
You must be signed in to change notification settings - Fork 1
/
Directory.Build.props
33 lines (27 loc) · 1.45 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
<Project>
<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
</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" Version="2.0.45">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="JetBrains.Annotations" Version="2022.3.1" PrivateAssets="all" />
</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>