Hi All,
I am getting a problem with the deployment packag., I have the K2 Blackpoint evaluation version installed on my machine. I created a deployment package of a K2 project that contains two K2 processes. Now I am using MSBUILD to deploy this package since on the production machine there is no K2 installed. So I just copied the Deployment folder created after creating the Deployment package to the production machine. Then I executed the command as below to test the production environment for deployment,
msbuild "C:Documents and SettingsAdministratorDesktopobjDebugDeploymentLeaveReqInfoK2.msbuild" /p:testonly=true /p:environment=production
I also tried with your solution to import the registry key at HKLMSoftwaresource code, but it gave me the same error.
Can you suggest something
This was the output:
C:WINDOWSMicrosoft.NETFrameworkv2.0.50727>msbuild "C:Documents and Settings
AdministratorDesktopobjDebugDeploymentLeaveReqInfoK2.msbuild" /p:testonly=
true /p:evironment=production
Microsoft (R) Build Engine Version 2.0.50727.1433
[Microsoft .NET Framework, Version 2.0.50727.1433]
Copyright (C) Microsoft Corporation 2005. All rights reserved.
Build started 2/24/2010 4:18:11 PM.
__________________________________________________
Project "C:Documents and SettingsAdministratorDesktopobjDebugDeploymentLe
aveReqInfoK2.msbuild" (default targets):
Target K2 Workflow Integration Process Deployment:
__________________________________________________
Project "C:Documents and SettingsAdministratorDesktopobjDebugDeploymen
tLeaveReqInfoK2.msbuild" is building "C:Documents and SettingsAdministratorD
esktopobjDebugDeploymentLeaveReqInfoK2.msbuild" (InitDeploy target(s)):
C:Documents and SettingsAdministratorDesktopobjDebugDeploymentLeaveRe
qInfoK2.msbuild(70,5): error MSB4018: The "SourceCode.DeploymentTasks.SharePoint
.WorkflowIntegration.WorkflowIntegrationTask" task failed unexpectedly.
C:Documents and SettingsAdministratorDesktopobjDebugDeploymentLeaveRe
qInfoK2.msbuild(70,5): error MSB4018: System.IO.FileNotFoundException: Could not
load file or assembly 'SourceCode.Framework, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=16a2c5aaaa1b130d' or one of its dependencies. The system cannot f
ind the file specified.
C:Documents and SettingsAdministratorDesktopobjDebugDeploymentLeaveRe
qInfoK2.msbuild(70,5): error MSB4018: File name: 'SourceCode.Framework, Version=
4.0.0.0, Culture=neutral, PublicKeyToken=16a2c5aaaa1b130d'
C:Documents and SettingsAdministratorDesktopobjDebugDeploymentLeaveRe
qInfoK2.msbuild(70,5): error MSB4018: at SourceCode.DeploymentTasks.TaskLogge
r.LogMessage(MessageImportance importance, String message)
C:Documents and SettingsAdministratorDesktopobjDebugDeploymentLeaveRe
qInfoK2.msbuild(70,5): error MSB4018: at SourceCode.DeploymentTasks.SharePoin
t.WorkflowIntegration.WorkflowIntegrationTask.Execute()
C:Documents and SettingsAdministratorDesktopobjDebugDeploymentLeaveRe
qInfoK2.msbuild(70,5): error MSB4018: at Microsoft.Build.BuildEngine.TaskEngi
ne.ExecuteTask(ExecutionMode howToExecuteTask, Hashtable projectItemsAvailableTo
Task, BuildPropertyGroup projectPropertiesAvailableToTask, Boolean& taskClassWas
Found)
C:Documents and SettingsAdministratorDesktopobjDebugDeploymentLeaveRe
qInfoK2.msbuild(70,5): error MSB4018:
C:Documents and SettingsAdministratorDesktopobjDebugDeploymentLeaveRe
qInfoK2.msbuild(70,5): error MSB4018: WRN: Assembly binding logging is turned OF
F.
C:Documents and SettingsAdministratorDesktopobjDebugDeploymentLeaveRe
qInfoK2.msbuild(70,5): error MSB4018: To enable assembly bind failure logging, s
et the registry value [HKLMSoftwareMicrosoftFusion!EnableLog] (DWORD) to 1.
C:Documents and SettingsAdministratorDesktopobjDebugDeploymentLeaveRe
qInfoK2.msbuild(70,5): error MSB4018: Note: There is some performance penalty as
sociated with assembly bind failure logging.
C:Documents and SettingsAdministratorDesktopobjDebugDeploymentLeaveRe
qInfoK2.msbuild(70,5): error MSB4018: To turn this feature off, remove the regis
try value [HKLMSoftwareMicrosoftFusion!EnableLog].
C:Documents and SettingsAdministratorDesktopobjDebugDeploymentLeaveRe
qInfoK2.msbuild(70,5): error MSB4018:
Done building target "K2 Workflow Integration Process Deployment" in project "Le
aveReqInfoK2.msbuild" -- FAILED.
Done building project "LeaveReqInfoK2.msbuild" -- FAILED.
Build FAILED.
C:Documents and SettingsAdministratorDesktopobjDebugDeploymentLeaveReqInf
oK2.msbuild(70,5): error MSB4018: The "SourceCode.DeploymentTasks.SharePoint.Wor
kflowIntegration.WorkflowIntegrationTask" task failed unexpectedly.
C:Documents and SettingsAdministratorDesktopobjDebugDeploymentLeaveReqInf
oK2.msbuild(70,5): error MSB4018: System.IO.FileNotFoundException: Could not loa
d file or assembly 'SourceCode.Framework, Version=4.0.0.0, Culture=neutral, Publ
icKeyToken=16a2c5aaaa1b130d' or one of its dependencies. The system cannot find
the file specified.
C:Documents and SettingsAdministratorDesktopobjDebugDeploymentLeaveReqInf
oK2.msbuild(70,5): error MSB4018: File name: 'SourceCode.Framework, Version=4.0.
0.0, Culture=neutral, PublicKeyToken=16a2c5aaaa1b130d'
C:Documents and SettingsAdministratorDesktopobjDebugDeploymentLeaveReqInf
oK2.msbuild(70,5): error MSB4018: at SourceCode.DeploymentTasks.TaskLogger.Lo
gMessage(MessageImportance importance, String message)
C:Documents and SettingsAdministratorDesktopobjDebugDeploymentLeaveReqInf
oK2.msbuild(70,5): error MSB4018: at SourceCode.DeploymentTasks.SharePoint.Wo
rkflowIntegration.WorkflowIntegrationTask.Execute()
C:Documents and SettingsAdministratorDesktopobjDebugDeploymentLeaveReqInf
oK2.msbuild(70,5): error MSB4018: at Microsoft.Build.BuildEngine.TaskEngine.E
xecuteTask(ExecutionMode howToExecuteTask, Hashtable projectItemsAvailableToTask
, BuildPropertyGroup projectPropertiesAvailableToTask, Boolean& taskClassWasFoun
d)
C:Documents and SettingsAdministratorDesktopobjDebugDeploymentLeaveReqInf
oK2.msbuild(70,5): error MSB4018:
C:Documents and SettingsAdministratorDesktopobjDebugDeploymentLeaveReqInf
oK2.msbuild(70,5): error MSB4018: WRN: Assembly binding logging is turned OFF.
C:Documents and SettingsAdministratorDesktopobjDebugDeploymentLeaveReqInf
oK2.msbuild(70,5): error MSB4018: To enable assembly bind failure logging, set t
he registry value [HKLMSoftwareMicrosoftFusion!EnableLog] (DWORD) to 1.
C:Documents and SettingsAdministratorDesktopobjDebugDeploymentLeaveReqInf
oK2.msbuild(70,5): error MSB4018: Note: There is some performance penalty associ
ated with assembly bind failure logging.
C:Documents and SettingsAdministratorDesktopobjDebugDeploymentLeaveReqInf
oK2.msbuild(70,5): error MSB4018: To turn this feature off, remove the registry
value [HKLMSoftwareMicrosoftFusion!EnableLog].
C:Documents and SettingsAdministratorDesktopobjDebugDeploymentLeaveReqInf
oK2.msbuild(70,5): error MSB4018:
0 Warning(s)
1 Error(s)