MSBuild Tools Installation for K2 4.6.11 Package and Deployment

  • 16 February 2021
  • 0 replies
  • 12 views

Badge +2
 

MSBuild Tools Installation for K2 4.6.11 Package and Deployment

KB001713

PRODUCT
K2 blackpearl 4.6.9 to 4.6.11
BASED ON
K2 blackpearl 4.6.9
LEGACY/ARCHIVED CONTENT
This article has been archived, and/or refers to legacy products, components or features. The content in this article is offered "as is" and will no longer be updated. Archived content is provided for reference purposes only. This content does not infer that the product, component or feature is supported, or that the product, component or feature will continue to function as described herein.

 

Introduction

K2 requires Microsoft MSBuild Tools installed on the K2 Server for K2 Package and Deployment to function correctly.

Prior to .NET Framework 4.0, MSBuild was bundled as part of the Framework installation. Starting with .NET 4.0 it is bundled with Visual Studio (2010 and greater). For K2, if any K2 supported version of Visual Studio is present on the K2 Server machine, these tools are available.

 

 

Error Details

Deploying a workflow with K2 Package and Deployment in K2 4.6.11 without the MSBuild Tools installed results in errors similar to the following:

The following errors occurred while compiling the process (with framework version 3.5): Build started 7/28/2015 12:35:33 AM. Project "C:Userssys-k2-pservicesAppDataLocalTempExtenderProjectsCSWinWF-96036a8e47f744b0a039d81a0ecbe2feCSWinWF-96036a8e47f744b0a039d81a0ecbe2fe.csproj" on node 0 (Rebuild target(s)). Deleting file "C:Userssys-k2-pservicesAppDataLocalTempExtenderProjectsCSWinWF-96036a8e47f744b0a039d81a0ecbe2feobjDebugCSWinWF-96036a8e47f744b0a039d81a0ecbe2fe.csprojResolveAssemblyReference.cache". EntityClean: Successfully cleaned the output for 0 EDMX files. EntityDeploy: Processing 0 EDMX files. Finished processing 0 EDMX files. C:WindowsMicrosoft.NETFramework64v3.5Workflow.Targets(127,5): error : 'Project_96036a8e47f744b0a039d81a0ecbe2fe.EventItemContext_
0b2a5812d7c145d8982a1b9ba857f191.ExtenderConfig' does not contain a definition for 'SmartObjectServerConnectionString' and no extension method 'SmartObjectServerConnectionString' accepting a first argument of type 'Project_96036a8e47f744b0a039d81a0ecbe2fe.EventItemContext_
0b2a5812d7c145d8982a1b9ba857f191.ExtenderConfig' could be found (are you missing a using directive or an assembly reference?) C:WindowsMicrosoft.NETFramework64v3.5Workflow.Targets(127,5): error : 'Project_96036a8e47f744b0a039d81a0ecbe2fe.EventItemContext_
3b673261c0a6494f9713540e3b83e3b4.ExtenderConfig' does not contain a definition for 'SmartObjectServerConnectionString' and no extension method 'SmartObjectServerConnectionString' accepting a first argument of type 'Project_96036a8e47f744b0a039d81a0ecbe2fe.EventItemContext_
3b673261c0a6494f9713540e3b83e3b4.ExtenderConfig' could be found (are you missing a using directive or an assembly reference?) C:WindowsMicrosoft.NETFramework64v3.5Workflow.Targets(127,5): error : 'Project_96036a8e47f744b0a039d81a0ecbe2fe.EventItemContext_
e335ef0919eb43fdb2a2badaff6e9071.ExtenderConfig' does not contain a definition for 'SmartObjectServerConnectionString' and no extension method 'SmartObjectServerConnectionString' accepting a first argument of type 'Project_96036a8e47f744b0a039d81a0ecbe2fe.EventItemContext_
e335ef0919eb43fdb2a2badaff6e9071.ExtenderConfig' could be found (are you missing a using directive or an assembly reference?) Workflow markup validations completed with 3 errors and 0 warnings. Done Building Project "C:Userssys-k2-pservicesAppDataLocalTempExtenderProjectsCSWinWF-96036a8e47f744b0a039d81a0ecbe2feCSWinWF-96036a8e47f744b0a039d81a0ecbe2fe.csproj" (Rebuild target(s)) -- FAILED. Build FAILED. "C:Userssys-k2-pservicesAppDataLocalTempExtenderProjectsCSWinWF-96036a8e47f744b0a039d81a0ecbe2feCSWinWF-96036a8e47f744b0a039d81a0ecbe2fe.csproj" (Rebuild target) (1) -> (WorkflowCompilation target) -> C:WindowsMicrosoft.NETFramework64v3.5Workflow.Targets(127,5): error : 'Project_96036a8e47f744b0a039d81a0ecbe2fe.EventItemContext_
0b2a5812d7c145d8982a1b9ba857f191.ExtenderConfig' does not contain a definition for 'SmartObjectServerConnectionString' and no extension method 'SmartObjectServerConnectionString' accepting a first argument of type 'Project_96036a8e47f744b0a039d81a0ecbe2fe.EventItemContext_
0b2a5812d7c145d8982a1b9ba857f191.ExtenderConfig' could be found (are you missing a using directive or an assembly reference?) C:WindowsMicrosoft.NETFramework64v3.5Workflow.Targets(127,5): error : 'Project_96036a8e47f744b0a039d81a0ecbe2fe.EventItemContext_
3b673261c0a6494f9713540e3b83e3b4.ExtenderConfig' does not contain a definition for 'SmartObjectServerConnectionString' and no extension method 'SmartObjectServerConnectionString' accepting a first argument of type 'Project_96036a8e47f744b0a039d81a0ecbe2fe.EventItemContext_
3b673261c0a6494f9713540e3b83e3b4.ExtenderConfig' could be found (are you missing a using directive or an assembly reference?) C:WindowsMicrosoft.NETFramework64v3.5Workflow.Targets(127,5): error : 'Project_96036a8e47f744b0a039d81a0ecbe2fe.EventItemContext_
e335ef0919eb43fdb2a2badaff6e9071.ExtenderConfig' does not contain a definition for 'SmartObjectServerConnectionString' and no extension method 'SmartObjectServerConnectionString' accepting a first argument of type 'Project_96036a8e47f744b0a039d81a0ecbe2fe.EventItemContext_
e335ef0919eb43fdb2a2badaff6e9071.ExtenderConfig' could be found (are you missing a using directive or an assembly reference?) 0 Warning(s) 3 Error(s)

 


0 replies

Be the first to reply!

Reply