VMDebugger add-in crashes each time Visual Studio opens up - visual-studio-2012

I'm experiencing the following error each time I open up an instance of VS 2012, for about a week
(so it's not due to the yesterday's Update 4).
Even if I click Yes, the error is shown again when I re-open Visual Studio.
Anyway, the VMWare debugger seems to be correctly loaded
(actually I don't use it, it came with VMWare workstation).
I can't isolate a single operation that caused the error to start appearing.
Anyone is experiencing the same error?

[Edit] See Attilas answer for a much easier solution producing the same result [/Edit]
For anyone who could not solve this problem by re-installing the VMWare plug-in but do not want to sacrifice all his VS settings, here is a solution that did work for me:
Export 'Menu and Command Bar Customizations' VS settings only using
Tools => Import and Export Settings... => Export selected environment settings
Deselect 'All Settings'
Select only 'All Settings/General Settings/Menu and Command Bar Customizations'
Open exported .vssettings file in a text editor, scroll to the end and remove the entry <add_toolbar Menu=... Name='VMware' .../> in the UserCustomizations section
Import edited .vssettings file using
Tools => Import and Export Settings... => Import selected environment settings
and restart Visual Studio to check if the error has gone.

I know this is an old thread, but I solved this problem with a rather simple step. Had the same scenario, clicking Yes in the popup window didn't change a thing.
What worked for me: you should start VS as an administrator, wait for the popup window and click Yes. After that the popup never came up again (even when VS was run as a non-administrator). So there was no need for me to uninstall the VMWare pluging (or the whole VMWare WS).

Run the VMware Workstation installer
Choose Modify/Change
Uncheck Visual Studio Plugin
Problem gone!
Run the VMware Workstation installer
Choose Modify/Change
Check Visual Studio Plugin
Problem back again!
Regards
Lemmy

one possible solution:
Tools => Import and Export Settings => Reset all settings
seems to work for me.

VS 2013
Tools > Customize.. > Toolbars
Here I selected VMware and clicked Delete button.
I really don't use this plugin, this was the easiest solution for me.

None of the solutions here worked for me since I have already uninstalled vmware a long time ago and I was not willing to re-install it again.
MSDN suggests that there should be a registry key under
Root\Software\Microsoft\Visual Studio\...\AddIns\...
for VMdebugger, just delete that entry (the whole folder) and it'll be gone.

This worked for me:
completely uninstall VMWare workstation, reinstall it (select or deselect the VS plugin as you wish)
old school

If the option to install for all users was requested these Registry entries must also be removed.
HKEY_USERS.DEFAULT\Software\Microsoft\VisualStudio\11.0_Config\Addins\VMDebugger.Connect
HKEY_USERS.DEFAULT\Software\Microsoft\VisualStudio\12.0_Config\AddIns\VMDebugger.Connect
They correspond to the following HKCU entries. Hunt and kill.
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\11.0_Config\Addins\VMDebugger.Connect
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\12.0_Config\Addins\VMDebugger.Connect

From VS2012 menu bar select [Tools] [Add-in Manager]
Then check mark the radio box to install VMDebugger.
Worked on my system:
Microsoft Visual Studio Professional 2012
Version 11.0.61030.00 Update 4
Microsoft .NET Framework
Version 4.5.51209
Installed Version: Professional
Visual Studio Integrated Virtual Machine Debugger

Related

WIX in VS 2012 Menu and Commands missing

I just installed WIX 3.10 and I'm using VS 2012 Ultimate. I have then successfully added a WIX setup project to my solution but that's about as far as I can go because the WIX menu is not showing up. The commands buttons that should appear at the top of the solution explorer window does not appear, neither does the shortcut button that appears just below the 'clean' button when you right click the project. I have tried uninstalling and restarting my PC several times but still the same.
snap shot of the solution explorer window.
I'm obviously missing something, but what? Thanks very much.
The designer you're looking for is from a 3rd party commercial product:
https://www.add-in-express.com/wix-designer/index.php
Normally one would write most Wix files by hand. It's relatively simple XML and the documentation isn't bad.
You can install the extension: Tools -> Extensions and Updates
Then in the search box type 'wix' and Enter.
The extension name is 'Designer for Visual Studio Wix Setup Projects':

Visual Studio 2012 Install Fails: Program Compatibility Mode is on

I'm trying to install Visual Studio 2012 Express for Windows Desktop and every time I run the installer I get this error:
"Windows Program Compatibility mode is on. Turn it off and then try setup again."
I checked the file properties and compatibility mode was off. Googling found that changing the name to "vs_premium.exe" or "vs_ultimate.exe" or changing the registry keys might help, but the name changes had no effect, and there were no registry keys to delete. I have restarted my machine several times to no avail.
Changing to Visual Studio 2013 is not an option for me, as my work computer has Visual Studio 2012 on it which they will not update to 2013, and I need to work on my project on both computers.
The computer I am using has a Windows 8.1 HP Pavilion g6. I have installed Visual Studio 2013 for Windows Desktop, Web, and Windows, as well as the 30-day trial for Professional (which has recently expired). I have also installed Visual Studio 2012 for Windows Phone but I have not used it yet.
Previous posts are correct in that compatibility mode appears to be based entirely on file names. There is a simple method for determining precisely which name Windows expects:
Right-click the file, select Properties and navigate to the Details tab. There should be an entry labelled "Original filename". Simply rename the file accordingly and it should run happily.
Screenshot:
If you downloaded Visual Studio 2012 and Visual Studio 2013 at the same time and one was renamed with a "(0)" suffix (just as I did) then change the installer to the original name will probably fix it, because "somehow compatibility checking is based on file naming"
I just have to Rename the setup name. I rename the setup file to vs_ultimate and it worked.
In case you mounted it, first extract the content before you install. it worked for me.
Had the same issue installing vs_ultimate on Windows 10, It tells me to turn compatibility mode off which I didn't know to do. After reading all the solutions above without success, I was able to solve it on my own.
I mounted the .iso before installing which was giving me problem, but later as I extracted it into a desktop folder, it installed fine.
I couldn't find a solution, but I could find a workaround. I downloaded the offline installer (ISO) and ran that instead. It's not a solution, but it should work in this situation.
I ran into this problem and the solution for me was to rename the file back to its original name. I had downloaded it as "vs2012sdk_full.exe" but the original name was "vssdk_full.exe". When I ran it as "vs2012sdk_full.exe" I got the compatibility mode error. Once I renamed it back to the original "vssdk_full.exe" it worked.
Open The Run (Win+R) And type Services.msc.
Found Program Compatibility Assistant Service Then Disable Service and Stop it.
Open the Run (Win+R) And Type Gpedit.msc.
User configuration-->Administrative Templates-->Windows Components-->Application Compatibility
And check Enable button then restart system.
Run as administrator. And for my 2013 installer I renamed it to be
vs_professional.exe
And it worked.
In a round about way I discovered the problem on my system. Check the properties of the installer. Mine was blocked because it was downloaded from another system. Click unblock. Voila! If you can't find the location of the installer, run it again. When it fails, leave it running. Open task manager, right click the installer, then open file location. This will take you to the folder containing your installer.
mount the ISO file and run the setup as a from the disk.
I had the same issue, my solution was to run it in administrator mode and it seemed to work just fine.
Run as Administrator worked for me.
I had the same problem. I had run the installer from an ISO, reading from the DVD image.
The solution was to simply take the ISO and uncompress it as a .RAR into some folder, and everything worked.
Well, filename varies from versions to versions. Fix:
Right Click on file
Select Properties
Select "Details" tab
Rename that file to value of "Original Filename"
This is the solution:
Right Click on Visual Studio Setup Icon
Select Properties
Open Compatibility Tab
Check Run This Program In Compatibility Mode
Select Your Windows Version (ex:Windows 8)
Finally Click OK And Install Your Program Again

VS 2012 could not start debugger error

I hope some one can help me it is bothering me this issue for 2 days for now. When I try to debug an app I allays receive the following message:
Unable to start debugger error code(0x80040154), It this problem persists may be a faulted instalation. Please go to control panel add remove programs and reapir instalation.
This happened after installing the VS 2012 Update 2.
So I uninstalled the update 2 but the issue remained.
I did a VS repair, the Issue remain.
I did re install of the VS (uninstall-> re install from scratch) + the update 1 but after this, the VS could not start simply (VS stopped responding...checking solution on line...closing the app).
So I do not do a complete format of the PC because I have a lot of stuff in it.
If any one can suggest a way to resolve the issue I will be very grateful.
UPDATE:
Uninstall the update 2 of the VS 2012 and then start the repair tool, then install the Update 1, start the VS in safe mode, uninstall the extensions, and re install the exensions...it works...but do not install the update 2
I have similar problem. I cannot start debugger after installation update 2 for Visual Studio 2012.
I cannot find any dependency on other things. This ocuring only on my PC, another comupers in my office are OK although they have same HW and SW (OS and other programs installed from same deployment image).
This error is firing because of an administrator rights issue.
Please right click the shortcut of Visual Studio 2012 and click "Run as Administrator".
If you want to permanently enable "Run as Administrator" option:
Right click shortcut and select properties
Click Advanced
Check "Always run as administrator" option and click OK to close dialog box.
go to registration and delete microsoftvisualstudio registration file
Removed the registry entries.
Note that I did not delete or clean up HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\11.0 which contained the license key
best regards

No devices attached in xamarin VisualStudio for ios

I'm having real trouble when I try to use the IOS emulator from the visual studio. So I created a hello world app in VS using xamarin (latest stable version), I set the project as main project, and When I refresh the connexion with the mac, I can't select the device that should be shown in the selectList. The message is "No device attached" :
And if I try to use xamarin studio on the host mac, all is okay, the sample app builds on the iphone emulator:
Thanks to help me !
I know this question has already been answered, but i found it when i had a problem, and it did not help... but i did find the solution:
Under the debugging menu in VS2012, click on Configuration Manager
make sure that iPhone Simulator (or iPad, if you want) is set...
Default seems to be looking for a physical device...
hope this helps.
Are you sure the device is connected to the Mac and not the Windows machine? Have you tried debugging from that same device from Xamarin Studio on the Mac?
Had the same problem. Issue was when i loaded my solution, visual studio 2012 decided to choose a library project as the 'Startup project'.
Rt Clicked the ios project, chose 'Set as StartUp Project' and the device list was populated.
P.S: Visual Studio you should be old enough to figure this out by now.
When I ran into this problem, I had another instance of visual studio running which was connected to the Mac.
Apparently you can only have on VS instance connected at a time.
Check your server log in Visual Studio output window for some more clues:
Closing the other instance of Visual Studio allowed me to connect in the instance I wanted to debug in
I discovered something missing. For me, in Visual Studio 2013, for some reason they have removed Solution Platforms from the toolbar. This makes it impossible to switch from iPhone to iPhoneSimulator without opening Configuration Manager. So, to fix this.
Click TOOLS/Customize then select the 'Commands' tab then select the 'Toolbar:' radio button and click the dropdown to the right of it and select 'Standard' as the toolbar you're working on.
Now, click 'Add Command' and select 'Build' from the catagories on the left and then scroll down commands until you find 'Solution Platforms'. Select that one and click OK. Then click the 'Close' button. You will now see an additional dropdown next to the Solution Configurations dropdown on your Standard Toolbar.
This will allow you to easily switch from iPhoneSimulator and iPhone. Use iPhone when you want to plug in an actual device, and use iPhoneSimulator when you want to pick a simulated device.
Hope this helps somebody out. I too have spent lots of time trying to figure this one out when I went from a device and was trying to use the simulator instead.
Restarting of Visual Studio 2010 worked for me.
Different things worked for me (Windows 8.1 & Visual Studio 2013):
Restart Visual Studio
Set 'iPhoneSimulator' as platform (only working one)
In Properties - iOS Application change 'Deployment Target' version to some lower number (6.0 worked for me).
As well as checking you have the right startup project selected as per #Chamkila's answer, check that you haven't accidentally broken your project's Info.plist file by attempting to open it through Visual Studio.

How to repair Resharper?

I have problem with Resharper - all it's menu options are greyed, no shortcuts working...
I've tried run installer with repair option - no success
Also tried uninstall / install back - same.. :(
ReSharperSetup.4.5.1288.2.msi
Can someone advice how to make it working back?
I had a similar problem with VS2010 and version 5.1.1753.4 of ReSharper. ReSharper is shown as "Not Loaded" in VS2010 About box and no ReSharper menu is visible. After multiple install/uninstall/register MSXML6/attempts of ReSharper, I finally figured out that:
A REINSTALL DOESN'T AUTOMATICALLY RE-ENABLE RESHARPER IF IT WAS DISABLED AT THE TIME OF DEINSTALLATION!
So the simple fix is just got to Tools.Options.ReSharper.General in VS2010 and enable it again.
In case ReSharper is listed as [Not Loaded] under Help > About Visual Studio, this most likely means that msxml6 component registration is broken. To fix this problem, just re-install MS XML Core services 6.
Tools -> Import and Export Settings -> Reset all settings
Source.
See if it's even loaded by ticking the checkbox it in the Tools → Add-in Manager.

Resources