Created
January 5, 2016 22:11
-
-
Save BryanWilhite/5c17a5957fc0ba06a5a4 to your computer and use it in GitHub Desktop.
NuGet *.nuspec file using explicit <files/> element
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<package > | |
<metadata> | |
<id>MyProject</id> | |
<version>1.0.0</version> | |
<title>My Project</title> | |
<authors>[email protected]</authors> | |
<owners>[email protected]</owners> | |
<projectUrl>http://git-stash.myco.com/projects/CV/repos/myproject/browse</projectUrl> | |
<iconUrl>http://git-stash.myco.com/projects/CV/avatar.png?s=256</iconUrl> | |
<requireLicenseAcceptance>false</requireLicenseAcceptance> | |
<description>my amazing project</description> | |
<releaseNotes>This is the initial release.</releaseNotes> | |
<copyright>Copyright 2015 My Company</copyright> | |
<tags>tag1 tag2 tag3</tags> | |
</metadata> | |
<files> | |
<file src="bin\Release\net35\*.dll" target="lib/net35" /> | |
<file src="bin\Release\net35\*.exe" exclude="**vshost**" target="lib/net35" /> | |
<file src="bin\Release\net35\*.config" target="lib/net35" /> | |
<file src="bin\Release\net35\*.xml" target="lib/net35" /> | |
<file src="bin\Release\net35\*.pdb" target="lib/net35" /> | |
<file src="bin\Release\net40\*.dll" target="lib/net40" /> | |
<file src="bin\Release\net40\*.exe" exclude="**vshost**" target="lib/net40" /> | |
<file src="bin\Release\net40\*.config" target="lib/net40" /> | |
<file src="bin\Release\net40\*.xml" target="lib/net40" /> | |
<file src="bin\Release\net40\*.pdb" target="lib/net40" /> | |
<file src="bin\Release\net45\*.dll" target="lib/net45" /> | |
<file src="bin\Release\net45\*.exe" exclude="**vshost**" target="lib/net45" /> | |
<file src="bin\Release\net45\*.config" target="lib/net45" /> | |
<file src="bin\Release\net45\*.xml" target="lib/net45" /> | |
<file src="bin\Release\net45\*.pdb" target="lib/net45" /> | |
<file src="**\*.cs" exclude="obj\**" target="src" /> | |
</files> | |
</package> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment