forked from npgsql/npgsql
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDirectory.Build.props
46 lines (38 loc) · 1.64 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>
<!-- Package configuration -->
<PropertyGroup>
<Copyright>Copyright 2020 © The Npgsql Development Team</Copyright>
<Company>Npgsql</Company>
<VersionPrefix>5.0.0</VersionPrefix>
<NoWarn>$(NoWarn);NU5105</NoWarn>
<SuppressNETCoreSdkPreviewMessage>true</SuppressNETCoreSdkPreviewMessage>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<PackageLicenseExpression>PostgreSQL</PackageLicenseExpression>
<PackageProjectUrl>https://github.com/npgsql/npgsql</PackageProjectUrl>
<PackageIcon>postgresql.png</PackageIcon>
</PropertyGroup>
<ItemGroup>
<None Include="$(MSBuildThisFileDirectory)postgresql.png" Pack="true" PackagePath="" />
</ItemGroup>
<!-- Language configuration -->
<PropertyGroup>
<LangVersion>8.0</LangVersion>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup>
<PropertyGroup Condition=" '$(TargetFramework)' != 'net461' And '$(TargetFramework)' != 'netstandard2.0' ">
<Nullable>enable</Nullable>
</PropertyGroup>
<PropertyGroup Condition=" $(Nullable) != 'enable' ">
<NoWarn>$(NoWarn);CS8632</NoWarn>
</PropertyGroup>
<!-- Signing configuration -->
<PropertyGroup>
<AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)Npgsql.snk</AssemblyOriginatorKeyFile>
<SignAssembly>true</SignAssembly>
</PropertyGroup>
<!-- Reference .NET Framework reference assemblies, allows building on environments without .NET Framework installed
(e.g. Linux). Gets ignored on non-framework TFMs. -->
<ItemGroup>
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" PrivateAssets="All" />
</ItemGroup>
</Project>