Symptoms
Error in Visual Studio 2010 with K2 Project
Diagnoses
I am facing the attached error while opening Visual Studio 2010 and creating new K2 project or opening any existing project from the solution explorer.
I tried reinstalling K2 client tools and repaired Visual Studio 2010 as well, but still issue remains the same.
I've installed Vs 2015 then uninstalled it again but .net 4.6 still resides on the machine
Resolution
Resolution:
"
Plase uninstall All KBs which was installed by VS2015. After uninstalling it, the .Net version should get back to 4.5 and K2 projects will start opening correctly.
in parallell to that, please do the following:
firstly do backups of your :
1. machine.config (C:WINDOWSMicrosoft.NETFrameworkv2.0.50727CONFIG)
2. devenv.exe.config (C:Program FilesMicrosoft Visual Studio 10.0Common7IDE).
Open the machine.config and the devenv.exe.config in Notepad, scroll down till the end of the machine.config, you will see a node:
C:Program Filesk2...BinK2Studio.config
C:Documents and SettingsAll UsersApplication DataSourceCodeConfigurationManager.config
C:Program FilesK2 blackpearlin
Copy your node and replace the last part of the devenv.exe.config with it.
Second step:
In your machine.config search for the following:
Copy it and look for the located in the top of the devenv.exe.config, add it in there
E.g.
Save the devenv.exe.config then open VS 2010.