Symptoms
1. K2 project templates are missing when opening VS2013
2. On installation of K2 client tools, the following error was logged:
“Logged Error: File c:program files (x86)microsoft visual studio 13common7IDEdevenv.exe.config not found. Could not update node 'sourcecode.configuration emplateConfigFile'.”
Diagnoses
1. It was found that Visual Studio is installed in a different location: "C:Program Files (x86)Microsoft Visual Studio 13"
K2 will look for the default directory where VS2013 is supposed to be installed to put in the plug-ins
2. After re-installing VS2013 and K2 client tools, the following error was logged:
“Logged Error: File c:program files (x86)microsoft visual studio 13common7IDEdevenv.exe.config not found. Could not update node 'sourcecode.configuration emplateConfigFile'.”
Resolution
1. Re-installing VS2013 and ensuring that it is located in the default directory should install the K2 plug-ins correctly: “C:Program Files (x86)Microsoft Visual Studio 12.0"
2. The Environment Variable was pointing to the previous location of VS2013. We edited it as well as the target location for the application so that every time we open VS2013, we won’t be prompted for the location of devenv.exe
a. Environment Variable: Control Panel > Advanced System Settings > Environment Variables > VS120COMNTOOLS
The value of this should be = “C:Program Files (x86)Microsoft Visual Studio 12.0Common7Tools”
After which, we re-configured the K2 client tools
b. Target: Right-click on K2 Designer for Visual Studio 2013
The value of this should be = "C:Program Files (x86)Microsoft Visual Studio 12.0Common7IDEdevenv.exe"