No ratings

Unable to open k2proj in visual studio 2012


After installing K2 4.6.11 for Visual Studio 2015, K2 for Visual Studio 2012 throws the following error on load:

The 'WorkflowPackage' package did not load correctly.

The tools version "4.6" is unrecognized. Available tools versions are "14.0", "2.0", "3.5", "4.0".


This issue was reproducible and a bug was logged for investigation to be fixed in a future update.


A fix is available to allow K2 to work with both VS 2012 and VS 2015.


Labels: (1)

Does anyone know where the fix is available



I fixed the issue by mnanually regestering the missing assembly "SourceCode.VisualStudio.dll" to the GAC. here is how:


  1. Open command prompt
  2. Change direct to where the gacutil.exe is
    1. Example
    2. "Cd C:Program Files (x86)Microsoft SDKsWindowsv8.1AinNETFX 4.5.1 Toolsx64"
  3. Run the following command:
  4. gacutil.exe /if "C:Program Files (x86)Microsoft Visual Studio 11.0Common7IDEExtensionsK2SourceCode.VisualStudio.dll"


Now restart visual studio and no more error



This issue happened to me a few months ago. I am running Windows 7 professional and the above GACUTIL fix has failed to work for me. Is there a specific fix for this? I am guessing a windows update from my company must have caused this.




Version history
Last update:
4 weeks ago
Updated by: