-
-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
32 lines (26 loc) · 1.4 KB
/
Copy pathDirectory.Build.props
File metadata and controls
32 lines (26 loc) · 1.4 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
<Project>
<PropertyGroup>
<LangVersion>latest</LangVersion>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<!-- Suppress NuGet package pruning advisories. Some legacy transitive deps require
explicit package references for runtime resolution and cannot be pruned. -->
<NoWarn>$(NoWarn);NU1510</NoWarn>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="GitVersion.MsBuild" Version="6.4.0" PrivateAssets="all" />
</ItemGroup>
<!-- House-style analyzers (one type per file, no nested types). Excluded from the
analyzer project itself to avoid a circular reference. -->
<ItemGroup Condition="'$(MSBuildProjectName)' != 'WinPrint.Analyzers'">
<ProjectReference Include="$(MSBuildThisFileDirectory)tools\WinPrint.Analyzers\WinPrint.Analyzers.csproj">
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
<OutputItemType>Analyzer</OutputItemType>
<SetTargetFramework>TargetFramework=netstandard2.0</SetTargetFramework>
<GlobalPropertiesToRemove>RuntimeIdentifier;RuntimeIdentifiers;SelfContained;PublishSelfContained;PublishSingleFile;PublishAot;IsAotCompatible;Platform;PlatformTarget</GlobalPropertiesToRemove>
<PrivateAssets>all</PrivateAssets>
</ProjectReference>
</ItemGroup>
</Project>