forked from dfederm/ZWave.NET
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDirectory.Build.props
62 lines (52 loc) · 2.23 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
<?xml version="1.0" encoding="utf-8"?>
<Project>
<PropertyGroup>
<!-- Be strict with warnings -->
<MSBuildTreatWarningsAsErrors>true</MSBuildTreatWarningsAsErrors>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<!-- Use the preview version of C# which supports static abstracts in interfaces -->
<LangVersion>Preview</LangVersion>
<EnablePreviewFeatures>true</EnablePreviewFeatures>
<!-- Produce deterministic binaries -->
<Deterministic>true</Deterministic>
<!-- Enable optimized NuGet restore -->
<RestoreUseStaticGraphEvaluation>true</RestoreUseStaticGraphEvaluation>
<!-- Enabled the built-in analyzers -->
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<!-- Enable nullable reference types -->
<Nullable>Enable</Nullable>
<!-- Enable implicit usings -->
<ImplicitUsings>Enable</ImplicitUsings>
</PropertyGroup>
<!-- Packaging -->
<PropertyGroup>
<Authors>David Federman</Authors>
<Company>ZWave.NET</Company>
<Copyright>© ZWave.NET. All rights reserved.</Copyright>
<PackageLicenseFile>LICENSE.txt</PackageLicenseFile>
<PackageLicensePath>$(MSBuildThisFileDirectory)$(PackageLicenseFile)</PackageLicensePath>
<PackageProjectUrl>https://github.com/dfederm/ZWave.NET</PackageProjectUrl>
<RepositoryUrl>https://github.com/dfederm/ZWave.NET.git</RepositoryUrl>
<PackageTags>zwave z-wave</PackageTags>
</PropertyGroup>
<ItemGroup Condition="'$(IsPackable)' == 'true'">
<None Include="$(PackageLicensePath)"
Pack="true"
PackagePath="$(PackageLicenseFile)"
Visible="false" />
</ItemGroup>
<!-- Source Link (https://github.com/dotnet/sourcelink) -->
<PropertyGroup>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" />
</ItemGroup>
<!-- Versioning (https://github.com/dotnet/Nerdbank.GitVersioning) -->
<ItemGroup>
<PackageReference Include="Nerdbank.GitVersioning" Version="3.5.119" PrivateAssets="all" />
</ItemGroup>
</Project>