-
Notifications
You must be signed in to change notification settings - Fork 8
Hangs when creating new projects
After installing the SDK, when you click on "File > New Project", VS2012 hangs for quite a long time and then crashes.
This is probably due to a long long project template list : after the SDK installation, VS seems to reparse the whole list of your templates, and that may take sometimes, perhaps more than what VS12 can handle.
To solve this problem, you just have to make VS rebuild your template cache :
- start a "visual studio command prompt", (I've done that in Administrator mode but it may not be necessary)
- run "devenv /setup"
- wait two to twenty minutes depending on how many templates you have (I've waited 11min...)
Now run VS as usual, everything should be as good as before.
If others encounter the problem and mcarbenay's solution won't help, you may want to create an activity log for Secret Labs to look through.
Therefor close your VS 2012.
Then go to "Run" (Windowskey + R) and type in devenv /log.
Afterwards start your VS again and VS will write a logfile with all modules which failed and succeded to load.
By default you are going to find the log here: %APPDATA%\Roaming\Microsoft\VisualStudio<version>\ActivityLog.xml or %APPDATA%\Microsoft\VisualStudio<version>\ActivityLog.xml (Win8)