Skip to main content


 

Symptoms

 


Issue with K2 blackpearl for Visual Studio 2010 Components. Upon attempt to create or open K2 project the following errors are being displayed:
1. Upon attempt to create a new "K2 Empty Project":

 


“The ‘SourceCode.VisualStudio.WorkflowPackage, SourceCode.VisualStudio, Version=4.0.4.0, Culture=neutral, PubicKeyToken=… package did not load correctly.”

 

 

 

2. Upon attempt to open an existing K2 solution (which used to open fine earlier):

 


“iProject].K2proj’ cannot be opened because its project type (.k2prj) is not supported by this version of application”

 

 

 

3. Errors also present in AppDataRoamingMicrosoftVisualStudio10.0ActivityLog.xml
 

 

Diagnoses

 

This behavior can occue when you use K2 4.6.9 or any other K2 version prior to 4.6.11 which are not compatible with .NET 4.6 and such configuration (version of K2 earlier than 4.6.11 + .NET 4.6) is not supported. Please refer for details to K2 compatibility matrices:
http://help.k2.com/blackpearl/support-matrix
http://help.k2.com/smartforms/support-matrix

 

 

 

Resolution 

You have remove .NET 4.6 and revert to previously installed .NET 4.5 to resolve this issue.

 

 



 

What steps do we need to bring our .net 4.5 projects forward to the latest versions?

Below is my guess:

1. uninstall .net 4.6?

2. upgrade black pearl to 4.8.9+ or whatever is current?

3. Open project in VS 10 and resave?

4. Reinstall .net 4.6?

 

This doesn't seem right but I don't want to start my projects over from scratch when I upgrade.

Will any of this work in VS 2012 or later version of Visual Studio?


Reply