-
Notifications
You must be signed in to change notification settings - Fork 1
/
Directory.Build.props
39 lines (34 loc) · 1.17 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
34
35
36
37
38
39
<Project>
<PropertyGroup>
<CommonPrefix>DockerTestsSample</CommonPrefix>
<Authors>AErmilov</Authors>
<AssemblyName>$(CommonPrefix).$(MSBuildProjectName)</AssemblyName>
<RootNamespace>$(CommonPrefix).$(MSBuildProjectName)</RootNamespace>
</PropertyGroup>
<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
<LangVersion>default</LangVersion>
<EmbedAllSources>True</EmbedAllSources>
<DebugType>embedded</DebugType>
<DebugSymbols>True</DebugSymbols>
<IsPackable>False</IsPackable>
<NuGetAudit>false</NuGetAudit>
</PropertyGroup>
<PropertyGroup>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<TreatWarningsAsErrors>True</TreatWarningsAsErrors>
</PropertyGroup>
<!--Add analyzers-->
<ItemGroup>
<PackageReference Include="JetBrains.Annotations">
<PrivateAssets>All</PrivateAssets>
</PackageReference>
<PackageReference Include="Microsoft.CodeAnalysis">
<PrivateAssets>All</PrivateAssets>
</PackageReference>
<PackageReference Include="Microsoft.CodeAnalysis.Analyzers">
<PrivateAssets>All</PrivateAssets>
</PackageReference>
</ItemGroup>
</Project>