Whenever I try to create a new project in VS 2010 I get the error:
New project/item dialog could not be initialized due to error: Exception of type 'Microsoft.VisualStudio.Dialogs.DialogInitializationException' was thrown.
And when try to open existing project visual studio 2010 restarts.
If the Visual Studio development environment is already open, you can create a new project by choosing File > New > Project on the menu bar.
Open Visual Studio, and choose Create a new project in the Start window. In the Create a new project window, select All languages, and then choose C# from the dropdown list.
Open Visual Studio. On the start window, select Open a project or solution. Visual Studio opens an instance of File Explorer, where you can browse to your solution or project, and then select it to open it.
I had the same problem on my computer. After a long time searching I solved it by the following steps:
devenv.exe /resetuserdata
and wait until finished Close all VS instances and try the solution mentioned here:
pushd C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise
gacutil -if Common7\IDE\PublicAssemblies\Microsoft.VisualStudio.Shell.Interop.8.0.dll
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With