Recently I got this error while trying to create a MVC 4 project. The error message was: this template attempted to load component assembly NuGet.VisualStudio.Interop, Version=1.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. For more information on this problem and how to enable this template, please see documentation on customizing project templates".
Also you can check out my previous posts on:
- Opening one Excel template in Asp.net
- NuGet tutorial in Asp.Net
- Upload multiple files in Asp.Net file upload control
Reason:
NuGet is not installed or if it is installed, it is not properly installed.
Solution:
If NuGet is not installed:
Step-1:
Go to nuget site, and in the home page click on Install NuGet, it will download the NuGet.Tools.vsix , then install it on your Visual Studio 2012.
Step-2:
Once its installed, Restart Visual Studio 2010 again. Now that error should not come.
If NuGet is already installed:
Step-1:
Open Visual Studio 2012, Go to Tools -> Extensions and Updates and then Select NuGet Package Manager and UnInstall this.
Step-2:
Go to nuget site, and in the home page click on Install NuGet, it will download the NuGet.Tools.vsix , then install it on your Visual Studio 2012.
Step-3:
Once its installed, Restart Visual Studio 2010 again. Now that error should not come.
Also you can check out my previous posts on:
- Opening one Excel template in Asp.net
- NuGet tutorial in Asp.Net
- Upload multiple files in Asp.Net file upload control
Reason:
NuGet is not installed or if it is installed, it is not properly installed.
Solution:
If NuGet is not installed:
Step-1:
Go to nuget site, and in the home page click on Install NuGet, it will download the NuGet.Tools.vsix , then install it on your Visual Studio 2012.
Step-2:
Once its installed, Restart Visual Studio 2010 again. Now that error should not come.
If NuGet is already installed:
Step-1:
Open Visual Studio 2012, Go to Tools -> Extensions and Updates and then Select NuGet Package Manager and UnInstall this.
Step-2:
Go to nuget site, and in the home page click on Install NuGet, it will download the NuGet.Tools.vsix , then install it on your Visual Studio 2012.
Step-3:
Once its installed, Restart Visual Studio 2010 again. Now that error should not come.