forked from WeihanLi/WeihanLi.Npoi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDirectory.Build.props
23 lines (21 loc) · 1.08 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
<Project>
<Import Project="./build/version.props"/>
<PropertyGroup>
<LangVersion>latest</LangVersion>
<Nullable>enable</Nullable>
<RepositoryType>git</RepositoryType>
<RepositoryUrl>https://github.com/WeihanLi/WeihanLi.Npoi</RepositoryUrl>
<!-- Optional: Publish the repository URL in the built .nupkg (in the NuSpec <Repository> element) -->
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<!-- Optional: Build symbol package (.snupkg) to distribute the PDB containing Source Link -->
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<Authors>WeihanLi.Npoi Contributors</Authors>
<Copyright>Copyright 2017-2021 (c) WeihanLi</Copyright>
<NoWarn>$(NoWarn);NU5048;</NoWarn>
</PropertyGroup>
<ItemGroup>
<PackageReference Condition="'$(OS)' == 'Windows_NT'" Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All"/>
<PackageReference Condition="'$(OS)' != 'Windows_NT'" Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.0" PrivateAssets="All"/>
</ItemGroup>
</Project>