NuGet feed version incompatibilities

Dec 15, 2010 at 1:35 PM

I'm getting errors like the following when attempting to add packages from the current current NuGet feed url:

Install-Package : The element 'metadata' in namespace '' has invalid child element 'created' in namespace 'http://sc'. List of possible elements expected: 'iconUrl, dependencies, projectUrl, title, tags, summary, owners' in namespace 'http:/
At line:1 char:16
+ install-package <<<<  CommonServiceLocator
    + CategoryInfo          : NotSpecified: (:) [Install-Package], InvalidOperationException
    + FullyQualifiedErrorId : NuGet.VisualStudio.Cmdlets.InstallPackageCmdlet
I know the nuspec schema has been changed but shouldn't the tools have been updated as well to utilize the new schema? 
And if the tools have been updated, shouldn't non-conforming packages be filtered out of the feed?
I'm using the feed url with the latest version of the NuGet Package Manager according to the VS Extensions Manager. 
Dec 22, 2010 at 8:21 AM

I had the same problem.  It was because I had a previous version installed and I had added packages using that old version.  You will need to remove the /packages folder in your project root, as those old packages are incompatible with the new version.

Dec 22, 2010 at 8:29 AM

See this thread