When I open the Package Manager Console in VS2015 I am 'greeted' by the following error message:
The module to process 'nuget.psm1', listed in field 'ModuleToProcess' of module manifest 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO 14.0\COMMON7\IDE\EXTENSIONS\T3SN2KBD.PPE\Modules\NuGet\NuGet.psd1' was not processed because no valid module was found in any module directory.
I've had a browse around and adding stuff to the devenv.exe.config as detailed here did not resolve my problem. Apart from that post I can't really find that much about this error.
There are no pending updates and I have tried reinstalling nuget and the Power Shell Tools for VS2015 (which I did not have installed and only generated more errors in the console window - so I removed it again)
Any input greatly appreciated
Updates:
- Checked that file(s) exist and are accessible
- Checked/Updated Execution Policy (CurrentUser and LocalMachine are now Unrestricted)
- Reinstalled NuGet
- This is an issue on Visual Studio 2013 and 2015 on this workstation
- Running Powershell v5.0.10586.122
NuGet.psm1
andNuGet.psd1
inC:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO 14.0\COMMON7\IDE\EXTENSIONS\T3SN2KBD.PPE\Modules\NuGet
? – Martin BrandlImport-Module C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO 14.0\COMMON7\IDE\EXTENSIONS\T3SN2KBD.PPE\Modules\NuGet\NuGet.psd1 -Debug
– Martin Brandl