-
Notifications
You must be signed in to change notification settings - Fork 0
/
Directory.Build.props
64 lines (59 loc) · 2.99 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<?xml version="1.0" encoding="utf-8"?>
<Project>
<PropertyGroup Label="Packaging">
<IsPackable>false</IsPackable>
<NugetFeedPath>C:\LocalNuGet</NugetFeedPath>
<!--<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<PackageOutputPath>$(OutputPath)</PackageOutputPath>-->
</PropertyGroup>
<PropertyGroup Label="General Config">
<LangVersion>preview</LangVersion>
<TreatWarningsAsErrors Condition="'$(Configuration)' == 'Release'">true</TreatWarningsAsErrors>
<ContinuousIntegrationBuild Condition="'$(ContinuousIntegrationBuild)' == ''">false</ContinuousIntegrationBuild>
<NoWarn>
CA1000; <!-- Do not declare static members on generic types -->
CA1707; <!-- Remove the underscores from method name -->
CA1725; <!--Parameter names should match base declaration-->
IDE0007; <!-- Use var instead of explicit type -->
IDE0008; <!-- Use explicit type instead of var -->
IDE0021;
IDE0022;
IDE0023;
IDE0024;
IDE0051;
IDE0055; <!-- Fix formatting -->
IDE0100; <!-- IDE0100: Ignore redundant equality -->
IDE1006; <!-- Prefix __ is not expected -->
$(NoWarn)
</NoWarn>
<WarningsNotAsErrors>
NU1903; <!-- Package has a known security vulnerability. Can't always help it. -->
$(WarningsNotAsErrors)
</WarningsNotAsErrors>
<!--<WarningsAsErrors>
--><!--Net6 default enabled analysers--><!--
CA1416; CA1417; CA1418; CA1831; CA2013; CA2014; CA2015; CA2017;
CA2018; CA2200; CA2252; CA2247; CA2255; CA2256; CA2257; CA2258;
--><!--Net7 default enabled analysers--><!--
CA1420; CA1422; CA2259; CA2260;
--><!--Security analysers --><!--
CA2100; CA2119; CA2153; CA2300; CA2301; CA2302; CA2305;
CA2310; CA2311; CA2312; CA2315; CA2321; CA2322; CA2326; CA2327;
CA2328; CA2329; CA2330; CA2350; CA2351; CA2352; CA2353; CA2354;
CA2355; CA2356; CA2361; CA2362; CA3001; CA3002; CA3003; CA3004;
CA3006; CA3007; CA3008; CA3009; CA3010; CA3011; CA3012; CA3061;
CA3076; CA3077; CA3147; CA5350; CA5351; CA5358; CA5359;
CA5360; CA5361; CA5362; CA5363; CA5364; CA5365; CA5366; CA5367;
CA5368; CA5370; CA5371; CA5372; CA5373; CA5374; CA5375;
CA5376; CA5377; CA5378; CA5379; CA5380; CA5381; CA5382; CA5383;
CA5384; CA5385; CA5386; CA5387; CA5388; CA5389; CA5390; CA5391;
CA5392; CA5393; CA5395; CA5396; CA5397; CA5398; CA5399;
CA5400; CA5401; CA5402; CA5403; CA5404; CA5405
--><!-- The following security anaysers are ommited for the listed reasons --><!--
--><!--"CA5394: Do not use insecure randomness" - random number generators used for non cryptographic usecases--><!--
--><!--"CA2109: Review visible event handlers" - threat has not existed since net4.5--><!--
--><!--"CA3075: Insecure DTD Processing" - we assume loaded XML is trusted--><!--
--><!--"CA5369: Use XmlReader for Deserialize" - we assume loaded XML is trusted--><!--
</WarningsAsErrors>-->
</PropertyGroup>
</Project>