Creating nuspec files?

Sep 2, 2010 at 7:42 PM

What is the process for creating a nuspec file.  I see the console app for creating the nupack file, but I am coming up empty looking for the format of the manifest file. Could someone help me through what you have been doing to create the existing samples?

Sep 2, 2010 at 7:53 PM

We are in the process of modifying the specs and the console app is using an outdated format.

Our tentative format at this point looks like this:-

//TODO This is in progress




<Creator>Joe Schmoe; Jane Doe</Creator>

<Description>Does Everything but the kitchen sink</Description>


<Keywords>Editor, GUI, Cool</Keywords>


<Title>The fancy schmancy GuEditor</Title>


<Icon src="images\icon.png" />

<PreviewImage src=".\images\preview.png" />

<License href="" />

<HomePage href="" />



<Dependency id="jQuery" version="1.4.2" />

<Dependency id="SgmlReader" version="2.1" />



<Files src="content\*.*" />

<Files src="scripts\*.*" />

<Files src="tools\*.*" />



<Files src="tools\*.*" />

<Files src="docs\*.*" />

<Files src="misc\*.*" />

<Files src="SomeFileAtTheRoot.txt" />



<Assembly src="bin\wherever-1.0\gueditor.dll" TargetFramework="1.0" />

<Assembly src="bin\wherever-4.0\gueditor.dll" TargetFramework="4.0" />



The idea is to move the package authoring into NuPack.Core (which was checked in last night) and then have clients call into it to build the package.



Sep 2, 2010 at 9:19 PM

great.. thats what I was looking for.  Is there a target date for updating the console app to use the new apis?

Sep 2, 2010 at 9:27 PM

Pranav and I are working on getting these in today. We have a build task that was hacked together earlier in the project to do this but we're trying to get something that's a little closer to the spec.

If you have any feedback let us know.

Sep 2, 2010 at 9:29 PM

The only area I am unclear on is the difference between Resources and PackageFiles collections.  As someone who understands what the intention is, I do not understand the nomeclature and how those two collections differ.

Sep 2, 2010 at 9:31 PM

I'm thinking of changing those to Content and Files.

Content - Stuff that goes into the project
Files - Stuff that doesn't go into the project

Sep 2, 2010 at 9:43 PM
Content - things that go into the project
Resources - things that don't go into the project

On Thu, Sep 2, 2010 at 3:31 PM, dfowler <> wrote:

From: dfowler

I'm thinking of changing those to Content and Files.

Content - Stuff that goes into the project
Files - Stuff that doesn't go into the project

Read the full discussion online.

To add a post to this discussion, reply to this email (

To start a new discussion for this project, email

You are receiving this email because you subscribed to this discussion on CodePlex. You can unsubscribe or change your settings on

Please note: Images and attachments will be removed from emails. Any posts to this discussion will also be available online at

Sep 2, 2010 at 9:46 PM

Ok Content and Resources it is :).