Hi,
Nuget 2.7.40808.167 Package Manager Console fails to load with "Provider load failure" error message in Visual Studio 2012 Ultimate on Windows 7 x64.
Executing devenv.exe /log reveals the following entry:
```
<entry>
<record>1731</record>
<time>2013/08/29 13:07:39.287</time>
<type>Error</type>
<source>NuGet Package Manager</source>
<description>Provider load failure at System.Management.Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate(Object input, Hashtable errorResults, Boolean enumerate)
 at System.Management.Automation.PipelineNode.Execute(Array input, Pipe outputPipe, ArrayList& resultList, ExecutionContext context)
 at System.Management.Automation.StatementListNode.ExecuteStatement(ParseTreeNode statement, Array input, Pipe outputPipe, ArrayList& resultList, ExecutionContext context)</description>
</entry>
```
Visual Studio 2010 is also installed on this machine.
Attempts to repair so far:
- Uninstall/reinstall Nuget Package Manager extension
- Repair Visual Studio 2012 installation
- Rebuild WMI metabase
- Install latest Powershell
- Check PowerShell ExecutionPolicy (RemoteSign from MachinePolicy, Unrestricted from LocalMachine, everything else Undefined), other computer with same setting works correctly
- Installed all latest updates to Visual Studio, Windows, etc
Nothing so far did any change at all.
Any ideas how to fix?
Comments: Few things I might have tried: 1. Does NuGet package manager dialog etc. works fine? Is it only package manager console that doesn't work? 2. You said it has VS 2010 as well on the machine, does package manager console loads fine on VS 2010? If yes, then VS 2012 specific issue, otherwise it could be a machine wide powershell issue.
Nuget 2.7.40808.167 Package Manager Console fails to load with "Provider load failure" error message in Visual Studio 2012 Ultimate on Windows 7 x64.
Executing devenv.exe /log reveals the following entry:
```
<entry>
<record>1731</record>
<time>2013/08/29 13:07:39.287</time>
<type>Error</type>
<source>NuGet Package Manager</source>
<description>Provider load failure at System.Management.Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate(Object input, Hashtable errorResults, Boolean enumerate)
 at System.Management.Automation.PipelineNode.Execute(Array input, Pipe outputPipe, ArrayList& resultList, ExecutionContext context)
 at System.Management.Automation.StatementListNode.ExecuteStatement(ParseTreeNode statement, Array input, Pipe outputPipe, ArrayList& resultList, ExecutionContext context)</description>
</entry>
```
Visual Studio 2010 is also installed on this machine.
Attempts to repair so far:
- Uninstall/reinstall Nuget Package Manager extension
- Repair Visual Studio 2012 installation
- Rebuild WMI metabase
- Install latest Powershell
- Check PowerShell ExecutionPolicy (RemoteSign from MachinePolicy, Unrestricted from LocalMachine, everything else Undefined), other computer with same setting works correctly
- Installed all latest updates to Visual Studio, Windows, etc
Nothing so far did any change at all.
Any ideas how to fix?
Comments: Few things I might have tried: 1. Does NuGet package manager dialog etc. works fine? Is it only package manager console that doesn't work? 2. You said it has VS 2010 as well on the machine, does package manager console loads fine on VS 2010? If yes, then VS 2012 specific issue, otherwise it could be a machine wide powershell issue.