40

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).

Error

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?

Teejay
  • 7,210
  • 10
  • 45
  • 76

9 Answers9

59

[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.

swalex
  • 3,885
  • 3
  • 28
  • 33
  • 4
    GREAT solution! not only it preserve our VS settings but also solves the problem without need to removing the VMware debugger plugin thing, great job! – Sijav Aug 19 '14 at 04:08
  • 1
    It's a shame visual studio doesn't let you do this sensibly via the front end, and that Vmware can't fix their installer. –  Jun 22 '15 at 08:32
  • Great fix! I too could not modify VMware installation to repair/modify the plugin. – Jernej Jerin Jun 22 '15 at 10:59
  • thats the solution. thanx – Matricore Aug 15 '15 at 07:39
44

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).

Attila Klenik
  • 753
  • 6
  • 13
10

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

Lemmy Caution
  • 101
  • 1
  • 3
  • Installer in Control Panel says "Use original VMware Workstation Installer". Original installer says "Setup has detected a newer version of VMware Workstation on your system". No luck. – Victor Sep 04 '14 at 08:58
7

one possible solution:

Tools => Import and Export Settings => Reset all settings

seems to work for me.

White
  • 79
  • 3
  • 4
    I have hundreds of custom settings in VS, really cannot reset them all. See my answer, anyway thank u for your contribution, upvoted. – Teejay Nov 25 '13 at 09:30
6

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.

5

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.

Sepehr
  • 2,051
  • 19
  • 29
  • 2
    +1 for this. For VS2012 the key is HKLM\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\11.0\AddIns" deleted the VMDebugger.Connect key, problem solved. – Neil Aug 11 '14 at 06:24
  • Instead of deleting the node, you can also set `LoadBehavior` value under this key to 0 (default is 1). This fixed the problem for me leaves the possibility of reenabling it later if needed (as others have said, the add-in actually seems to work fine, it just gives an error on loading for some reason). – VZ. Sep 23 '15 at 01:31
4

This worked for me:

completely uninstall VMWare workstation, reinstall it (select or deselect the VS plugin as you wish)

old school

Teejay
  • 7,210
  • 10
  • 45
  • 76
2

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

David Schwartz
  • 181
  • 1
  • 3
1

enter image description hereFrom 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

MMorrison
  • 21
  • 3