-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathDirectory.Build.props
49 lines (42 loc) · 2.15 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
40
41
42
43
44
45
46
47
48
49
<Project>
<PropertyGroup>
<TargetFrameworks>net8.0</TargetFrameworks>
<Copyright>© Zomp Inc. All rights reserved.</Copyright>
<Company>Zomp</Company>
<Authors>Victor Irzak</Authors>
<GenerateAssemblyFileVersionAttribute>false</GenerateAssemblyFileVersionAttribute>
<ArtifactsPath>$(MSBuildThisFileDirectory)artifacts</ArtifactsPath>
<LangVersion>preview</LangVersion>
<ImplicitUsings>enable</ImplicitUsings>
<IsCLSCompliant>false</IsCLSCompliant>
<Nullable>enable</Nullable>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
<SuppressNETCoreSdkPreviewMessage>true</SuppressNETCoreSdkPreviewMessage>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<TreatWarningsAsErrors>True</TreatWarningsAsErrors>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<!-- Don't enforce file header -->
<NoWarn>$(NoWarn);SA1633</NoWarn>
<!-- Don't enforce prefixing local calls with this -->
<NoWarn>$(NoWarn);SA1101</NoWarn>
<AnalysisLevel>latest</AnalysisLevel>
<AnalysisMode>AllEnabledByDefault</AnalysisMode>
</PropertyGroup>
<!-- Remove when https://github.com/dotnet/sdk/issues/13808 is resolved -->
<PropertyGroup Condition="'$(container)' == 'podman'">
<IntermediateOutputPath>/tmp/$(USER)/project/obj/</IntermediateOutputPath>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Nerdbank.GitVersioning" PrivateAssets="all" IncludeAssets="runtime; build; native; contentfiles; analyzers" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers" PrivateAssets="all" IncludeAssets="runtime; build; native; contentfiles; analyzers; buildtransitive" />
<PackageReference Include="StyleCop.Analyzers" PrivateAssets="all" IncludeAssets="runtime;build;native;contentfiles;analyzers;buildtransitive" />
<AdditionalFiles Include="$(MSBuildThisFileDirectory)stylecop.json" Link="stylecop.json" />
</ItemGroup>
<ItemGroup>
<AssemblyAttribute Include="CLSCompliantAttribute" Condition="'$(IsCLSCompliant)' != ''">
<_Parameter1>$(IsCLSCompliant)</_Parameter1>
</AssemblyAttribute>
</ItemGroup>
</Project>