forked from meziantou/Meziantou.Framework
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
49 lines (38 loc) · 1.86 KB
/
Directory.Build.props
File metadata and controls
49 lines (38 loc) · 1.86 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
42
43
44
45
46
47
48
49
<Project>
<!-- Build options -->
<PropertyGroup>
<LatestTargetFramework>net10.0</LatestTargetFramework>
<LatestTargetFrameworks>net10.0;net9.0;net8.0</LatestTargetFrameworks>
<LatestTargetFrameworksWindows>net10.0-windows;net9.0-windows;net8.0-windows</LatestTargetFrameworksWindows>
<EnableWindowsTargeting>true</EnableWindowsTargeting>
</PropertyGroup>
<PropertyGroup>
<ArtifactsPath>$(MSBuildThisFileDirectory)artifacts</ArtifactsPath>
<LangVersion>preview</LangVersion>
<ValidateProjectTargets Condition="$(ValidateProjectTargets) == ''">true</ValidateProjectTargets>
<IsPackable>False</IsPackable>
<DefineConstants Condition="$(InvariantGlobalization) == 'true'">$(DefineConstants);InvariantGlobalization</DefineConstants>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<NoWarn>$(NoWarn);CS1591;NU5104</NoWarn>
</PropertyGroup>
<!-- disable the nullable warnings when compiling for target that haven't annotation -->
<PropertyGroup Condition="'$(TargetFramework)' != '$(LatestTargetFramework)'">
<NoWarn>$(NoWarn);nullable;IDE0370</NoWarn>
</PropertyGroup>
<!-- Package configuration -->
<PropertyGroup>
<PackageProjectUrl>https://github.com/meziantou/Meziantou.Framework</PackageProjectUrl>
</PropertyGroup>
<!-- Analyzers -->
<ItemGroup>
<PackageReference Include="Meziantou.Polyfill" Version="1.0.104">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>
<ItemGroup>
<NuGetAuditSuppress Include="https://github.com/advisories/GHSA-7jgj-8wvc-jh57" />
<NuGetAuditSuppress Include="https://github.com/advisories/GHSA-cmhx-cq75-c4mj" />
<NuGetAuditSuppress Include="https://github.com/advisories/GHSA-447r-wph3-92pm" />
</ItemGroup>
</Project>