Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2015 Stuck Initializing Templates

I am running Visual Studio 2015 Professional. Every time I open my solution and either click/open on the Unit Test project within the solution or any of the files within the Unit Test project, I get a popup window that states "Initializing Templates...".

Visual Studio then becomes unresponsive and the mouse cursor turns into a spinner. Sometimes it finishes (after several LONG minutes) or I just get frustrated and kill devenv.exe and try to avoid clicking on the project. I then use VS2013 if I need to make changes within that project.

I have tried repairing Visual Studio 2015. I have uninstalled it (and all 3rd party add-ons) and reinstalled it. Nothing seems to work. I would really like to use VS2015 but this is kind of a deal breaker.

Does anyone have any ideas?

EDIT
I tried opening another solution and when I went to the Unit Test project within it, I got the same popup/freezing.

Also, I just opened Visual Studio and tried to create a new project. Same popup and now its frozen.

EDIT 2
Seems running the program as Administrator is causing the issue. If I run Visual Studio 2015 normally, it eventually "initializes the templates" (after about 15 seconds). Run VS2015 as administrator, and it just gets stuck "initializing templates". Seems counter-intuitive.

I would still like to have this problem resolved. I do have to run VS2015 occasionally as an administrator.

like image 853
EL MOJO Avatar asked Oct 05 '16 17:10

EL MOJO


Video Answer


1 Answers

Running devenv.exe /installvstemplates fixed the issue for me. It took about 7 minutes to run, though, so be patient.

like image 141
Collin K Avatar answered Nov 09 '22 22:11

Collin K