forked from Mapsui/Mapsui
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Directory.Build.props
46 lines (41 loc) · 1.92 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
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Version>3.0.0</Version>
<NeutralLanguage>en</NeutralLanguage>
<Copyright>Copyright © Mapsui Developers 2018</Copyright>
<PackageLicenseUrl>https://raw.githubusercontent.com/Mapsui/Mapsui/master/LICENSE.md</PackageLicenseUrl>
<PackageProjectUrl>https://github.com/Mapsui/Mapsui</PackageProjectUrl>
<RepositoryType>git</RepositoryType>
<RepositoryUrl>https://github.com/Mapsui/Mapsui</RepositoryUrl>
<Authors>Mapsui Developers</Authors>
<Company>Mapsui Developers</Company>
</PropertyGroup>
<!-- Common Project Properties -->
<PropertyGroup>
<CodeAnalysisIgnoreGeneratedCode>true</CodeAnalysisIgnoreGeneratedCode>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<LangVersion>10.0</LangVersion>
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<Compile Include="$(MSBuildThisFileDirectory)/Nullable.cs" />
<Compile Include="$(MSBuildThisFileDirectory)/InitProperty.cs" />
</ItemGroup>
<ItemGroup>
<!--Specify Compiler for Mac Builds-->
<PackageReference Include="Microsoft.Net.Compilers.Toolset" Version="4.0.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
<!--Disposable Analyzer-->
<PackageReference Include="IDisposableAnalyzers" Version="4.0.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<!--Threading Analyzer mainly Async Code-->
<PackageReference Include="Microsoft.VisualStudio.Threading.Analyzers" Version="17.0.64">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
</ItemGroup>
</Project>