Skip to main content


 

Symptoms

 


Right click in K2 for Visual Studio 2010 doesn't work.

 

 

 

Workaround which normally helps to resolve this:

 

Run as Administrator "Visual Studio Command Prompt (2010)"

 

NOTE: You have to right click on "Visual Studio Command Prompt (2010)" and select Run as administrator so that it runs in elevated mode

 

 

 

- Run "devenv.exe /resetuserdata" from command prompt.

 

- Run "devenv.exe /setup" from command prompt.

 

 

 

Does not work in this case.
 

 

Diagnoses

 


Issue can be caused by the following two things:

 

 

 

1) Incorrect version of SourceCode.VisualStudio.pkgdef file in "C:Program Files (x86)Microsoft Visual Studio 10.0Common7IDEExtensionsK2"

 

 

 

In certain scenarios you may wrong version of this file installed (intended for Visual Studio 2012). To check this, open the file properties and check the value of PID. It should be "PID"="4.0.4.0".

 

 

 

If this is not the case then it is the wrong file for Visual Studio 2010. This file has to be replaced by another one from working system/installation files.

 

 

 

2) CodeBase entry for:

 

 

 

HKLMSOFTWAREWow6432NodeMicrosoftVisualStudio10.0Packages{ab85df7a-ee9a-42cb-877e-e96781a6e60e}

 

 

 

May not have the full path. In some cases path value becomes truncated - make sure full and correct path specified there.
 

 

Resolution

1) Place correct version of SourceCode.VisualStudio.pkgdef for VS 2010 (one with "PID"="4.0.4.0") into "C:Program Files (x86)Microsoft Visual Studio 10.0Common7IDEExtensionsK2"

 

 

 

2) Make sure that full and correct path specified in the following registry key: HKEY_LOCAL_MACHINESOFTWAREWow6432NodeMicrosoftVisualStudio10.0Packages{ab85df7a-ee9a-42cb-877e-e96781a6e60e} 



 
Be the first to reply!

Reply