Fixing NuPack Installation Problems

NuPack is a new package management tool released to solve the issues related to getting and referencing third party open source libraries in your .Net projects. I decided to take it for a spin since I am fan of package management tools on Linux (apt-get, yum etc.). While you can download NuPack by its own, I installed the tool as part of the ASP.NET MVC3 installation which I got through the Web Platform Installer.

Every thing installed fine but when I tried to use NuPack I got this error message:

Cannot convert the "Microsoft.PowerShell.Commands.SecurityDescriptorCommandsBase"
 value of type "System.String" to type "System.Type"

 

I searched the web for a little but didn’t find a solution I then stumbled upon this blog post http://www.marcioalthmann.net/2010/10/corrigindo-problema-na-inicializao-do-nupack/ which is in Spanish so google translate ftw.

The solution is pretty simple if you have Reflector.NET installed you just need to go to Tools –> Add-In Manager :

image

and disable it then restart Visual Studio.

image

Tada! You have NuPack ready to install your libraries for you.

Advertisements