Answered by:
Visual Studio 11 Developer Preview problem

Question
-
Whenever i try to creata a new project in VS 11 i get the error:
New project/item dialog could not be initialized due to error:
Exception of type
'Microsoft.VisualStudio.Dialogs.DialogInitializationException' was thrown.
I've searched my ass off but none of the solutions that i've found is working :S
Anyone got a solution for this?
Thursday, December 29, 2011 3:10 PM
Answers
-
Thank you for your reply but as stated not even a re-install solved the issue, so i got so feed up with it that i re-installed the whole Windows and now the issue is gone.
- Marked as answer by Alexander Sun Wednesday, January 4, 2012 3:38 AM
Tuesday, January 3, 2012 8:56 PM
All replies
-
Hi Christian,
Welcome to the MSDN forum.
I recommend you try to repair Visual Studio 11 in Control Panel, then check if this error occurs again or not.
Since the Visual Studio 11 Developer Preview is a beta version, you can submit a feedback to Microsoft Connect to help us improve Visual Studio products: https://connect.microsoft.com/VisualStudio/feedback/
If you have any other concerns, please feel free to let me know.
Best Regards,
Alexander Sun [MSFT]
MSDN Community Support | Feedback to us
- Edited by Alexander Sun Friday, December 30, 2011 8:35 AM
Friday, December 30, 2011 8:35 AM -
Hi,
I´ve tride to both repair it, and to re-install it. But after i´ve uninstalled and installed it again the problem is still there.
Friday, December 30, 2011 10:56 AM -
Hi Christian,
You can try the suggestions listed here: http://connect.microsoft.com/VisualStudio/feedback/details/700411/exception-of-type-microsoft-dialogs-dialoginitializationexception-when-i-click-on-new-project-vs-2011-dev-preview
I hope this helps.
Best Regards,
Alexander Sun [MSFT]
MSDN Community Support | Feedback to us
Tuesday, January 3, 2012 9:45 AM -
Thank you for your reply but as stated not even a re-install solved the issue, so i got so feed up with it that i re-installed the whole Windows and now the issue is gone.
- Marked as answer by Alexander Sun Wednesday, January 4, 2012 3:38 AM
Tuesday, January 3, 2012 8:56 PM -
I'd also like to say that this happens to me too, i installed the Win8 Dev Preview(8102) in a VM VirtualBox. I sent it to power off and now I can't use VS, it always comes back with the above mentioned error when trying to create new projects or when launching existing ones.
The only way to fix this is to reinstall BUT as soon as I poweroff again (with the new install) VS breaks again.
For now I've just stopped working with Win8 Dev Preview(8102) and hopefully this will be fixed in the beta!
Make the web a beautiful placeMonday, January 9, 2012 3:24 AM -
Possible solution:
I have an active project that was loading with an empty Solution Explorer, but a full Class View; Compiling but not debugging (0x80004002). Couldn't create a ne project to try to rebuild my old one, so ...
I tried the resets mentioned, repair VS, uninstall and reinstall VS and none of that worked. Deleted "Users\<name>\AppData\Local\Microsoft\VisualStudio\11.0\ComponenModelCache" and still no joy. I was ready to reset Windows, so I thought I would just delete the Visual Studio folder in Users\<name>\AppData\Local\Microsoft and give it a shot.
Also, I deleted my \AppData\Local\microsoft.<project>.xxxxx folder.
Reopend VS11 and hit New Project and got the dialog. Backed out and opened my old project and it was there; built, ran and all is fine.
Hope this is useful for some.
VS rebuilt the Users\<name>\AppData\Local\Microsoft\VisualStudio tree when it couldn't find it.
Dan Stephens
- Proposed as answer by Alexander Sun Tuesday, January 17, 2012 7:22 AM
Monday, January 16, 2012 5:11 PM