|
NuGet 2.0 will add the ability to specify a target framework along with package dependencies. To more effectively use this new feature, we're also adding the additional information to the flattened list of dependencies in the feed. Today, the format is:
<d:Dependencies>theFirstPackageId:versionSpec|theSecondPackageId:versionSpec</d:Dependencies>
Now, a target framework moniker will be include:
<d:Dependencies>theFirstPackageId:versionSpec:net40|theSecondPackageId:versionSpec:net35<d:Dependencies>/
If you're using the NuGet.Core bits to get feed data, this change shouldn't affect you (aside from the changes in API there). But if you directly access the feed and try to parse that data yourself, you'll probably want to look at the changes.
The changes will be available to test on our Preview site soon (http://preview.nuget.org). When they're there, I'll update this thread.
|