Error on deployment using MSBUILD file - Please Help..Its Critical

  • 7 March 2014
  • 1 reply
  • 1 view

Badge

Hi All,

I am facing a weird issue on one of the environments whilst deployimg using msbuild file. The same when am doing it on other environment it works fine.

Following is teh log

D:PoHPushReportsNotificationsobjDebugDeploymentPoHPushReportsNotifications.msbuild(103,5): error MSB4018: The "SourceCode.DeploymentTasks.ExportProcessTask" task failed unexpectedly.

D:PoHPushReportsNotificationsobjDebugDeploymentPoHPushReportsNotifications.msbuild(103,5): error MSB4018: System.Exception: Method could not be resolved!

D:PoHPushReportsNotificationsobjDebugDeploymentPoHPushReportsNotifications.msbuild(103,5): error MSB4018:    at SourceCode.Hosting.Client.BaseAPI.BaseAPIConnection.RemoteCall(String TypeName, String MethodName, Object[] Parameters, Boolean[] NullList, MarshalMessageType CallType)

D:PoHPushReportsNotificationsobjDebugDeploymentPoHPushReportsNotifications.msbuild(103,5): error MSB4018:    at SourceCode.Hosting.Client.BaseAPI.BaseAPI.RemoteCall(String TypeName, String MethodName, Object[] Parameters, Boolean[] NullList, MarshalMessageType CallType)

D:PoHPushReportsNotificationsobjDebugDeploymentPoHPushReportsNotifications.msbuild(103,5): error MSB4018:    at SourceCode.Hosting.Client.BaseAPI.BaseAPI.RemoteCall(String TypeName, String MethodName, Object[] Parameters)

D:PoHPushReportsNotificationsobjDebugDeploymentPoHPushReportsNotifications.msbuild(103,5): error MSB4018:    at SourceCode.Hosting.Client.ManagementAPI.GetServerFrameworkVersion()

D:PoHPushReportsNotificationsobjDebugDeploymentPoHPushReportsNotifications.msbuild(103,5): error MSB4018:    at SourceCode.DeploymentTasks.ExportProcessTask.CheckServerFrameworkSupport(Version targetFramework)

D:PoHPushReportsNotificationsobjDebugDeploymentPoHPushReportsNotifications.msbuild(103,5): error MSB4018:    at SourceCode.DeploymentTasks.ExportProcessTask.Execute()

D:PoHPushReportsNotificationsobjDebugDeploymentPoHPushReportsNotifications.msbuild(103,5): error MSB4018:    at Microsoft.Build.BuildEngine.TaskEngine.ExecuteInstantiatedTask(EngineProxy engineProxy, ItemBucket bucket, TaskExecutionMode howToExecuteTask, ITask task, Boolean& taskResult)
Done Building Project "D:PoHPushReportsNotificationsobjDebugDeploymentPoHPushReportsNotifications.msbuild" (default targets) -- FAILED.

Build FAILED.

"D:PoHPushReportsNotificationsobjDebugDeploymentPoHPushReportsNotifications.msbuild" (default target) (1) ->(Deploy Processes target) ->


1 reply

Badge +9

In order to be able to deploy projects from one machine to another successfully, the versions of K2 must match. There are changes from version to version to how K2 communicates.
It is required that both the client tools and the server be on the same version for deployment to complete.

Reply