Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"Scanning new and updated MEF components"

I can successfully reproduce the problem at will. Below is my steps: Environment: windows 10 Professional 64bit

  1. Run vs_community_ENU.exe to install
  2. Choose the Microsoft web and Developer Tools
  3. Let it done installing
  4. Open it for the first time, I can see the ASP.NET Web Application
  5. Close the Visual Studio
  6. Open it up for the second time, it will show some upgrade: "Scanning new and updated MEF components..." and two or three more of the undated
  7. New project no long shows asp.net web application along with other templates

How can I fix this problem? I uninstalled and reinstalled it for 5 times already and the same thing happen again. I even installed VS2015.1.exe but nothing happened

like image 534
Jason Nguyen Avatar asked Jan 16 '16 04:01

Jason Nguyen


2 Answers

Delete the contents of the following folder:

%localappdata%\Microsoft\VisualStudio\14.0\ComponentModelCache

like image 181
bencemeszaros Avatar answered Oct 23 '22 09:10

bencemeszaros


I had to delete the contents of %localappdata%\Microsoft\VisualStudio\14.0\MEFCacheBackup as well as %localappdata%\Microsoft\VisualStudio\14.0\ComponentModelCache

The deletion of both these folders sorted my issue :)

like image 3
Paul Embleton Avatar answered Oct 23 '22 09:10

Paul Embleton