Error adding library package reference... the element '.../nuspec.xsd:authors' cannot contain child element


I am getting this error when I try to add a library package reference. The package manager window does not show up at all. This happened after I upgraded from 1.0 to 1.1. I've also tried the most recent build from here: http://ci.nuget.org:8080/repository/download/bt4/1401:id/VisualStudioAddIn/NuGet.Tools.vsix

I have the following package references:

file attachments

Closed Mar 22, 2011 at 10:15 PM by Haacked
Back-compat issue with pre-release version of NuGet. Authors element does not currently have child elements.


Haacked wrote Mar 22, 2011 at 10:14 PM

This is by design. The authors element is a comma delimited string of authors. There are no author elements.
Do you have packages that were installed before NuGet 1.0? If so, they need to be deleted and re-installed. Note, don't forget to delete the entry in packages.config.

briane wrote Mar 23, 2011 at 3:36 PM

Yes they were installed prior to v1.0. I can't remove/update them from the console; I get the same error about the authors elements. Do I just need to delete the packages/lib folders and remove the references from my project?

Haacked wrote Mar 23, 2011 at 5:07 PM

Yes, you'll need to remove the packages and the references as well as the /packages.config file in the root of your project. Sorry for the inconvenience. This was a growing pain during our pre-release days. From 1.0 on, we plan to maintain a very high level of compatibility so this should be a one time pain.