Repository navigation
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
41 lines (33 loc) · 1.57 KB
/
Copy pathDirectory.Build.props
File metadata and controls
41 lines (33 loc) · 1.57 KB
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
40
41
<Project>
<PropertyGroup>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
</PropertyGroup>
<PropertyGroup>
<LangVersion>latest</LangVersion>
<ImplicitUsings>disable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
<PropertyGroup>
<IsPackable>false</IsPackable>
</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>
<PropertyGroup>
<!-- SYSLIB1006: Multiple logging methods cannot use the same event ID -->
<!-- MA0048: File name must match type name -->
<!-- MA0051: Method too long -->
<NoWarn>$(NoWarn);SYSLIB1006;MA0048;MA0051</NoWarn>
<!-- MSB5029: The wildcard results in enumerating all files on the drive -->
<WarningsAsErrors>$(WarningsAsErrors);MSB5029</WarningsAsErrors>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="JetBrains.Annotations" PrivateAssets="all" />
<PackageReference Include="Meziantou.Analyzer" PrivateAssets="all" />
</ItemGroup>
</Project>