-
Notifications
You must be signed in to change notification settings - Fork 0
/
NuGet.Build.props
38 lines (30 loc) · 1.57 KB
/
NuGet.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
<Project>
<PropertyGroup>
<!-- Overwrites IsPackable from global Directory.Build.props -->
<IsPackable>true</IsPackable>
</PropertyGroup>
<PropertyGroup>
<Authors>Nexus Mods</Authors>
<PackageReadmeFile>docs/README.md</PackageReadmeFile>
<PackageIcon>assets/icon.png</PackageIcon>
<PackageLicenseExpression>GPL-3.0-only</PackageLicenseExpression>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
<!-- This is the URL to the main project, not the individual package. -->
<PackageProjectUrl>https://github.com/Nexus-Mods/NexusMods.App</PackageProjectUrl>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<!-- https://github.com/dotnet/sourcelink/tree/main/docs#publishrepositoryurl -->
<!-- Source Link will set RepositoryUrl for us in a CI environment -->
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<!-- https://github.com/dotnet/sourcelink/tree/main/docs#embeduntrackedsources -->
<EmbedUntrackedSources>false</EmbedUntrackedSources>
</PropertyGroup>
<ItemGroup>
<None Include="$(MSBuildThisFileDirectory)icon.png" Pack="true" PackagePath="assets" />
<None Include="$(MSBuildThisFileDirectory)README.md" Pack="true" PackagePath="docs" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.*" PrivateAssets="all" />
</ItemGroup>
</Project>