forked from npgsql/npgsql
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Directory.Build.props
36 lines (32 loc) · 1.61 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
<Project>
<PropertyGroup>
<VersionPrefix>8.0.0-preview.5</VersionPrefix>
<LangVersion>latest</LangVersion>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<Nullable>enable</Nullable>
<AnalysisLevel>latest</AnalysisLevel>
<SuppressNETCoreSdkPreviewMessage>true</SuppressNETCoreSdkPreviewMessage>
<AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)Npgsql.snk</AssemblyOriginatorKeyFile>
<SignAssembly>true</SignAssembly>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<Copyright>Copyright 2023 © 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);NETSDK1138</NoWarn> <!-- The target framework 'net5.0' is out of support -->
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
</PropertyGroup>
<!-- In netstandard2.0, the BCL isn't annotated for nullability so we disable nullability there -->
<PropertyGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' OR '$(TargetFramework)' == 'netcoreapp3.1'">
<Nullable>disable</Nullable>
<NoWarn>$(NoWarn);CS8632;CS8600</NoWarn>
</PropertyGroup>
<ItemGroup>
<None Include="$(MSBuildThisFileDirectory)postgresql.png" Pack="true" PackagePath="" />
</ItemGroup>
</Project>