-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDirectory.Build.props
39 lines (36 loc) · 1.84 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>
<RootPath>$([MSBuild]::GetPathOfFileAbove('AsyncValidation.sln', '$(MSBuildThisFileDirectory)').Trim('AsyncValidation.sln'))</RootPath>
<!--Default RootNamespace for all "Shared" and "Service" projects truncates "Shared" and "Service" sufix.-->
<RootNamespace>Microsoft.AspNetCore.Mvc.AsyncValidation</RootNamespace>
<AssemblyName>NativeWaves.$(MSBuildProjectName)</AssemblyName>
<PackageLicenseFile>LICENSE.txt</PackageLicenseFile>
<PackageReadmeFile>README.md</PackageReadmeFile>
<IncludeContentInPack>true</IncludeContentInPack>
<TargetFrameworks>net6.0;net7.0;net8.0</TargetFrameworks>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<ImplicitUsings>enable</ImplicitUsings>
<NoWarn>
$(NoWarn);
CS1591; <!--Missing XML comment for publicly visible type-->
NU1605; <!--Detected package downgrade-->
</NoWarn>
<WarningsNotAsErrors>
CA1822; <!--make member static-->
CA1842; <!--whenAll for single task-->
IDE0046; <!--if can be simplified-->
IDE0055; <!--Fix formatting-->
IDE0057; <!--simplify substring-->
IDE0061; <!--make local function static-->
IDE0079; <!--remove unnecessary suppression-->
NU1603; <!--nuget resolve dependencies-->
NU1902; <!--nuget known moderate severity vulnerability-->
</WarningsNotAsErrors>
<!--<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>-->
</PropertyGroup>
<ItemGroup>
<None Include="$(SolutionDir)LICENSE.txt" Pack="true" PackagePath="" />
<None Include="$(SolutionDir)README.md" Pack="true" PackagePath="" />
</ItemGroup>
</Project>