Framework Profile support

Feb 13, 2011 at 7:39 AM
Edited Apr 7, 2011 at 3:45 AM
The following is for NuGet 1.2 which is currently in development.
I added support for framework profile in lib folders. Here's the changeset:
The new format for folder names are:
Valid frameworks:
Version format:
40 -> Integer
4.0 -> Version
Examples (folder names):
40 -> .NETFramework 4
4.0 -> .NETFramework 4
net40-client -> .NETFramework 4 Client Profile
net40-full/net40 -> .NETFramework 4
sl3-wp -> Windows Phone 7 (aka Silverlight 4, Windows Phone profile)
We'll update the docs when the feature is finalized.
Some issues:
  • Some packages today assumed that naming a folder WP7 would work. This was never supported and still isn't. See above for supported framework names.
  • We don't support .net cf since that VS2010 doesn't support it.
  • As part of this changeset, we fixed another bug where we used to ignore nested folders within lib folders e.g. lib/net40/sub/foo.dll would be ignored, but now it will be added as a reference, so packages that added random things in nested folders (I haven't seen that many on our feed so far) will end adding more references to your project on install.
Feb 13, 2011 at 3:56 PM

I created an entry for this linked to from our “Specs” page.

It needs cleaning up, but the idea is we can start using the Specs page for pre-release documentation. Ideally what I will do is copy the actual current docs into that page and then update it with the 1.2 semantics. That way, when we release 1.2, we already have the docs updated and I can just copy and paste to the main page.

That’s the idea anyways. J