forked from npgsql/npgsql
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Directory.Build.props
39 lines (33 loc) · 1.44 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>
<VersionPrefix>6.0.0</VersionPrefix>
<!-- Packing -->
<Copyright>Copyright 2020 © The Npgsql Development Team</Copyright>
<Company>Npgsql</Company>
<PackageLicenseExpression>PostgreSQL</PackageLicenseExpression>
<PackageProjectUrl>https://github.com/npgsql/npgsql</PackageProjectUrl>
<PackageIcon>postgresql.png</PackageIcon>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<NoWarn>$(NoWarn);NU5105</NoWarn>
<!-- Language -->
<LangVersion>9.0</LangVersion>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<Nullable>enable</Nullable>
<AnalysisLevel>latest</AnalysisLevel>
<!-- Other -->
<SuppressNETCoreSdkPreviewMessage>true</SuppressNETCoreSdkPreviewMessage>
<AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)Npgsql.snk</AssemblyOriginatorKeyFile>
<SignAssembly>true</SignAssembly>
</PropertyGroup>
<!-- In netstandard2.0, the BCL isn't annotated for nullability so we disable nullability there -->
<PropertyGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' ">
<Nullable>disable</Nullable>
<NoWarn>$(NoWarn);CS8632</NoWarn>
</PropertyGroup>
<ItemGroup>
<None Include="$(MSBuildThisFileDirectory)postgresql.png" Pack="true" PackagePath="" />
</ItemGroup>
</Project>