When I try to pack my MVC project (NuGet.exe pack) I get:
NuGet.exe pack
NuGet.exe : Access to the path \'...\' is denied.
This happens to be
In my case something happened when switching branch in git. Everyone lost execute permissions for Nuget.exe.
This blog post helped me: http://mannysiddiqui.wordpress.com/2013/05/11/nuget-access-is-denied-command-existed-with-code-5/