dlls runtime version

  • 3 February 2015
  • 5 replies
  • 2 views

Badge +2

Hi, I am using k2 black pearl v4.6.7
Currently I am writing application that communicates with k2 server via api.
I am using dlls: SourceCode.HostClientAPI, SourceCode.Workflow.Client, SourceCode.Workflow.Management.
source : C:Program Files (x86)K2 blackpearlBin
All of them in runtime version v2.0 (dot net 2)
Is it correct? Why it's not in dot net 4?
Thank you in advance for your answers


5 replies

Badge +12

Hi there,


 


I am still trying to figure out why this has happened but you can manually change this by navaigating to the following help file. It allows you to change the dll framework providing you .net 4.0. upon your system.


 


http://help.k2.com/kb000686


 


Kind regards


 


Percy

Badge +12

Also have you recently upgraded to K2 Blackpearl 4.6.7, please confirm this for me .

Badge +2

Thank you for your answear . Yes I am now upgrading to 4.6.7

Badge +13

Yes I see the same with my 4.6.7.  The DLL is compiled with .NET 2.0 framework.

 

As KB mentioned to use it in your .NET 4.x project update the app.config.

 

<startup useLegacyV2RuntimeActivationPolicy="true"><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.1"/></startup>

Badge +2

Thank you for your answers, it helped

Reply