-
Notifications
You must be signed in to change notification settings - Fork 0
Pack‐Nuspec
Luca Sgroi edited this page Mar 26, 2017
·
3 revisions
Create a NuGet package targeting a .nuspec
file.
Not that the version of the package should be defined by Pask either via version.txt
or inline PowerShell.
Example: The default project Infrastructure
has a nuspec file Infrastructure.nuspec
.
<?xml version="1.0"?>
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>$id$</id>
<version>$version$</version>
<title>$id$</title>
<authors>Luca Sgroi</authors>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<summary>Infrastructure code.</summary>
<description>Infrastructure utilities.</description>
</metadata>
<files>
<file src="readme.txt" />
</files>
</package>
-
BuildConfiguration - the build configuration
Default toDebug
-
CreateSymbolsPackage - it creates a symbols package
Default to$false
-
IncludePdb - it includes PDB (Program Database) files in the package
Default to$false