-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcommon.props
59 lines (57 loc) · 1.8 KB
/
common.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
<Project>
<PropertyGroup>
<LangVersion>10</LangVersion>
<NoWarn>$(NoWarn);CS1591;IDE0058;</NoWarn>
<!--
https://github.com/dotnet/roslyn-analyzers/issues/5628
-->
<NoWarn>$(NoWarn);CA1812</NoWarn>
<!--
Disable some FxCop rules
-->
<NoWarn>
$(NoWarn);
CA1716;
<!-- avoid using method names that are reserved in other languages -->
CA1308;
<!-- prefer ToUpperInvariant -->
CA1819;
<!-- Properties should not return arrays -->
CA1710;
<!-- Use Collection sufix -->
CA1028;
<!-- Enum backing type should be int -->
CA1032;
<!-- Add default exception ctors -->
CA1063;
<!-- Dispose implementation -->
CA1066;
<!-- Implement IEquatable -->
CA1815;
<!-- Equality members on structs -->
CA2007;
<!-- Do not directly await a Task without calling ConfigureAwait (replaced by AZC0012) -->
CA2231;
<!-- Override Equality operators -->
CA2225;
<!-- Provide alternative to implicit operators -->
CA1714;
<!-- Flags should have plural names -->
CA1062;
<!-- Public parameter should be checked for null -->
CA1031;
<!-- Don't catch generic exceptions -->
CA2000;
<!-- Call dispose on IDisposable objects -->
CA2012;
<!-- ValueTask should only be awaited once - conflicts with EnsureCompleted check -->
</NoWarn>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>symbols.nupkg</SymbolPackageFormat>
<!-- Avoid implicitly added preview feeds -->
<AddDotnetfeedProjectSource>false</AddDotnetfeedProjectSource>
</PropertyGroup>
<PropertyGroup>
<EnableSourceLink Condition="'$(EnableSourceLink)' == ''">true</EnableSourceLink>
</PropertyGroup>
</Project>