forked from tunnelvisionlabs/ReferenceAssemblyAnnotator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Directory.Build.props
84 lines (70 loc) · 3.33 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<?xml version="1.0" encoding="utf-8"?>
<Project>
<PropertyGroup>
<LangVersion>8</LangVersion>
<Features>strict</Features>
</PropertyGroup>
<PropertyGroup Condition="'$(BuildingInsideVisualStudio)' != 'true'">
<!-- Ideally this is always enabled, but that tends to hurt developer productivity -->
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup>
<PropertyGroup>
<!--
Make sure any documentation comments which are included in code get checked for syntax during the build, but do
not report warnings for missing comments.
CS1573: Parameter 'parameter' has no matching param tag in the XML comment for 'parameter' (but other parameters do)
CS1591: Missing XML comment for publicly visible type or member 'Type_or_Member'
CS1712: Type parameter 'type_parameter' has no matching typeparam tag in the XML comment on 'type_or_member' (but other type parameters do)
-->
<GenerateDocumentationFile>True</GenerateDocumentationFile>
<NoWarn>$(NoWarn),1573,1591,1712</NoWarn>
</PropertyGroup>
<PropertyGroup>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)build\Key.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
<!-- Use the 16.3 compiler -->
<ItemGroup>
<PackageReference Include="Microsoft.Net.Compilers" Version="3.3.1-beta3-final" PrivateAssets="all" />
</ItemGroup>
<!-- Enable nullable reference types -->
<PropertyGroup>
<Nullable>enable</Nullable>
<AnnotatedReferenceAssemblyVersion>3.0.0-preview9-19423-09</AnnotatedReferenceAssemblyVersion>
<GenerateNullableAttributes>false</GenerateNullableAttributes>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="TunnelVisionLabs.ReferenceAssemblyAnnotator" Version="1.0.0-alpha.31" PrivateAssets="all" />
<PackageDownload Include="Microsoft.NETCore.App.Ref" Version="[$(AnnotatedReferenceAssemblyVersion)]" />
</ItemGroup>
<!-- Code style -->
<ItemGroup>
<PackageReference Include="StyleCop.Analyzers" Version="1.2.0-beta.66" PrivateAssets="all" />
</ItemGroup>
<ItemGroup>
<AdditionalFiles Include="$(MSBuildThisFileDirectory)stylecop.json">
<Link>stylecop.json</Link>
</AdditionalFiles>
</ItemGroup>
<!-- Versioning and packaging -->
<ItemGroup>
<PackageReference Include="Nerdbank.GitVersioning" Version="2.2.13" PrivateAssets="all" />
</ItemGroup>
<PropertyGroup>
<Description>IL weaver for adding nullability annotations to .NET Framework and .NET Standard reference assemblies.</Description>
<Product>TunnelVisionLabs.ReferenceAssemblyAnnotator</Product>
<Company>Tunnel Vision Laboratories, LLC</Company>
<Copyright>Copyright © Tunnel Vision Laboratories, LLC 2019</Copyright>
<NeutralLanguage>en-US</NeutralLanguage>
<Authors>sharwell</Authors>
<IncludeSymbols>true</IncludeSymbols>
<IncludeSource>true</IncludeSource>
<!--
NU5105: The package version 'version' uses SemVer 2.0.0 or components of SemVer 1.0.0 that are not supported on
legacy clients. Change the package version to a SemVer 1.0.0 string. If the version contains a release
label it must start with a letter. This message can be ignored if the package is not intended for older
clients.
-->
<NoWarn>$(NoWarn),NU5105</NoWarn>
</PropertyGroup>
</Project>