Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio won't open

I just downloaded VisualSVN Server. It seems to have conflicted with Visual Studio, as none of my projects will now open. The error it is throwing up says

A problem has occurred when loading the Microsoft visual studio menu. To fix this problem, run 'devenv.exe/resetsettings from the command prompt.

I rebooted and am getting this error now:

The MRU package did not load correctly.

like image 398
tester123 Avatar asked Sep 22 '14 14:09

tester123


People also ask

How do I open Visual Studio?

If you are running Windows 10, Windows 8.1, Windows 8 or Windows 11, you can find the icon listed under the V grouping. If you still can not find the icon, use Windows search (press the Windows logo key, and then enter Visual Studio 2015).

How do I start Visual Studio from command line?

On the Start screen, press Ctrl+Tab to open the Apps list, and then press V. This brings up a list that includes all installed Visual Studio command prompts.

Why can't I run my program in Visual Studio?

The reason Visual Studio cannot find the exe is because it didn't create one. Your project does not include any source files (observed by the empty "Source Files" folder under the Project2 node in the Solution Explorer window).


2 Answers

The fix for me was to run visual studio using ./devenv.exe /setup using a console session running as Administrator. Running ./devenv.exe /resetsettings didn't fix the issue for me.

I had this issue and I didn't have Visual SVN installed. Resources online suggested that you should check the registry key HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\11.0_Config\Packages\{2DC9DAA9-7F2D-11d2-9BFC-00C04F9901D1} and ensure InprocServer32 is correctly set to the vslog.dll file. If it isn't then it suggested running './devenv.exe /setup', however my machine had this correctly set, and running devenv with the setup flag fixed the issue for me.

like image 112
Alex Avatar answered Sep 20 '22 17:09

Alex


I tried "devenv.exe /setup" as commented, but it completely broke my VS2015.

Then I tried "devenv.exe /resetuserdata" and it works now.

like image 40
stratovarius Avatar answered Sep 19 '22 17:09

stratovarius