Nuget Package Explorer Trashes NuSpec on Save

Mar 31, 2011 at 2:11 PM
I'm loving that I can open and edit a nuspec file with nuget package explorer.

When I save the nuspec through file - > Save, it trashes the contents of my spec file though.

My encoding is in ANSI.

Here is the file:
<?xml version="1.0"?>
<metadata>
<id>ie9</id>
<title>IE9</title>
<version>0.0.2</version>
<authors>Microsoft</authors>
<owners>Rob Reynolds</owners>
<summary>IE9 - Explore a more beautiful web (Windows 7)</summary>
<description>IE9 - Explore a more beautiful web (Windows 7 only)</description>
<projectUrl>http://ie.microsoft.com/testdrive/</projectUrl>
<tags>internet explorer ie9 chocolatey</tags>
<!--<iconUrl>32x32.png</iconUrl>-->
</metadata>
</package>


To give you an idea of what it looks like after I click save.:
éoÿåñýêÓßå¿ýïþËÏÿï/i²þïÿ;œ
Mar 31, 2011 at 5:38 PM

Hmm, you're right. The Save method actually saves the entire package in .nupkg format. I should disable the Save option in this case.

Mar 31, 2011 at 5:39 PM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.