‘This template attempted to load component assembly 'NuGet.VisualStudio.Interop, Version=*, Culture=neutral, PublicKeyToken=*'

Today I was thinking to work on SignalR, So I started Visual Studio 2012 ultimate and create a new empty website, when I am trying to add a new SignalR Hub class it shows me error popup.


“This template attempted to load component assembly 'NuGet.VisualStudio.Interop, Version=*, Culture=neutral, PublicKeyToken=*”

img1.jpg

Image 1.

img2.jpg

Image 2.

So I start research on this and found this solution.

  • Click on tools and click Extensions and updates
  • Check NuGet Packager is install or not if not
  • Click on http://nuget.org/ and click download and Install NuGet
  • Restart visual studio
  • Now you can add SignalR hub class.