This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.

  • 21 September 2016
  • 0 replies
  • 9 views

Userlevel 5
Badge +18


 

Symptoms

 


"Could not load file or assembly 'CSWinWF-7aafd60efa50447cb7edf81d8f9a89a3, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded." We are using Vs2010 and VS2012 to make the samples.
 

 

Diagnoses

 


Which "Target Framework Version" was this K2 project built and deployed against?

 

In Visual Studio, right click on the K2 solution andgt Properties for this information.

 

 

 

The K2 Project will need to be built against the same .NET version or an earlier version of .NET as the K2 Server.

 

 

 

If you wish to build the K2 Project against a later version of .NET, you may need to configure the K2 Blackpearl Server to support that version as per:

 

http://help.k2.com/kb000686

 

 

 

Below is the compatibility matrix for K2 versions and .NET versions:

 

http://help.k2.com/blackpearl/support-matrix#NET
 

 

Resolution

The .NET Framework Version of the K2 Project was changed to be compatible with the K2 Server.

 

 



 

0 replies

Be the first to reply!

Reply