Error: this template attempted to load component assembly 'NuGet.VisualStudio.Interop, Version=*, Culture=neutral, PublicKeyToken=*'

Error: this template attempted to load component assembly 'NuGet.VisualStudio.Interop, Version=*, Culture=neutral, PublicKeyToken=*'. For more information on this problem and how to enable this template, please see documentation on Customizing Project Templates.

I was getting this error in newly released and installed Visual Studio 2012 Ultimate on my system when I tried to create any Web Application.




Possible Solution:

i) Open Visual Studio > Tools > Extensions and Updates > select 'NuGet Package Manager' and uninstall it.

ii) Open 'http://nuget.org' and you will see an 'Install NuGet' button, download it and install it on your system.

iii) Re-open the Visual Studio and now, this error will no longer visible to you.

Comments

  1. I was getting the same error but when I followed step 1 above it wasn't there to uninstall. Step 2 resolved the issue. Many thanks

    ReplyDelete
    Replies
    1. Thanks for this post. Mine was the same, step two solved my issue.

      Delete
    2. thanks, same here, it worked

      Delete
  2. Sweet. Step 2 & 3 fixed my problem.

    ReplyDelete
  3. what a stupid error. happens to VS2012 Express too

    ReplyDelete
  4. Thanks. Fixed my problem in VS2012 Express.

    ReplyDelete
  5. resolved to the inconvenient with the first solution. thanks you, brother you are great!

    ReplyDelete
  6. Thanks, this fixed me right up!

    ReplyDelete
  7. Error: this template attempted to load component assembly 'NuGet.VisualStudio.Interop...

    WTB a VS 2012 update... The package manager wasn't there for me either, but simply downloading it and installing it fixed the error. Thank you very much!

    (Including error message in response to hopefully bump this in the search results.)

    ReplyDelete
  8. Thank you so much for sharing this. It saved hours of frustration.

    ReplyDelete
  9. Worked!!! I actually installed it from the extensions window in Studio but that one produced the same error. So I uninstalled, then steps 2 & 3 and worked like a charm!

    ReplyDelete
  10. Thanks> Worked for me too!

    ReplyDelete
  11. I think Microsoft testers should put in more effort to nab these issues before they arise.
    They assume a perfect environment where all tools are already installed.

    Luke B

    ReplyDelete
  12. You are my HERO!! Seriously! I was having all kinds of issues with my VS2010 Ultimate and SQL Server 2012 Enterprise installations breaking each other. This seems to have at least fixed my VS2010 issues. Thank you SO MUCH!! :)

    ReplyDelete
  13. Step 2 & 3 solved problem for me too. Thanks.

    ReplyDelete
  14. Thanks buddy! it fixed the issue

    ReplyDelete
  15. its really helpful.. thank u for posting it..

    ReplyDelete
  16. Great it works for me :)
    Thanks

    ReplyDelete
  17. Thank you very much. It works like a magic.

    ReplyDelete
  18. Thank you so much. It really helped

    ReplyDelete
  19. Thank you! This helped me.

    ReplyDelete
  20. Thanks very much, worked a treat.

    ReplyDelete
  21. Thanks a lot, it worked for me as well.

    ReplyDelete
  22. thanks dude,it works...

    ReplyDelete
  23. Thanks a lot dude.it worked

    ReplyDelete
  24. Thanks you are reata good hairy

    ReplyDelete
  25. Thanks a lot! Worked for me :) (NuGet wasn't even installed in first place)

    ReplyDelete
    Replies
    1. yes, me too.

      thanks a lot abhimanyu :D

      Delete
  26. I am getting same error in VS 2010 after installing MVC 4

    ReplyDelete
  27. Can any one help me how to uninstall it in VS2010.

    ReplyDelete
  28. thanks alot ............it works fine

    ReplyDelete
  29. It's not working in visual studio 2015 RC edition

    ReplyDelete

Post a Comment

Popular posts from this blog

Migrating database from ASP.NET Identity to ASP.NET Core Identity

Customize User's Profile in ASP.NET Identity System