BizTalk取消部署错误MSB3073:命令...退出代码1

时间:2017-02-09 14:15:56

标签: deployment windows-installer biztalk undeploy

我遇到了BizTalk解决方案(TM.UPS)取消部署操作的问题。我已经构建了一个msi并成功部署了它。但是,通过取消部署它,我收到以下错误消息。奇怪的是,当我在不同的开发者机器上构建安装程序MSI但是从EXACT SAME源代码构建时,我在取消部署解决方案时不会出错。所以它看起来像我的开发者电脑上的一些区域(?)设置。我们正在使用部署框架。

我知道使用业务流程的解决方案会出现问题。 MSI在没有编排的情况下构建没有问题,但是在我的电脑上构建编排的解决方案确实存在这个问题。如果它们是在另一台PC上构建的,那么它们就是好的。

我知道这是一个很长的范围,但有人知道问题是什么吗?没有使用或者我的电脑和其他电脑之间的区别可能是什么?

这是我在取消部署在我的开发者电脑上创建的解决方案时得到的错误代码:

Build started 9-2-2017 15:03:30.
Overriding target "CustomPostExportSettings" in project "C:\Program Files (x86)\TM.UPS\1.0\Deployment\Framework\BizTalkDeploymentFramework.targets" with target "CustomPostExportSettings" from project "C:\Prog\Tools\BizTalkExtension\DeploymentFramework\Targets\1.0.0\Custom.BizTalkDeploymentFramework.targets".
Overriding target "CustomFinalDeploy" in project "C:\Program Files (x86)\TM.UPS\1.0\Deployment\Framework\BizTalkDeploymentFramework.targets" with target "CustomFinalDeploy" from project "C:\Prog\Tools\BizTalkExtension\DeploymentFramework\Targets\1.0.0\Custom.BizTalkDeploymentFramework.targets".
Overriding target "CustomFinalUndeploy" in project "C:\Program Files (x86)\TM.UPS\1.0\Deployment\Framework\BizTalkDeploymentFramework.targets" with target "CustomFinalUndeploy" from project "C:\Prog\Tools\BizTalkExtension\DeploymentFramework\Targets\1.0.0\Custom.BizTalkDeploymentFramework.targets".
Overriding target "DeployAppDefinition" in project "C:\Program Files (x86)\TM.UPS\1.0\Deployment\Framework\BizTalkDeploymentFramework.targets" with target "DeployAppDefinition" from project "C:\Prog\Tools\BizTalkExtension\DeploymentFramework\Targets\1.0.0\Custom.BizTalkDeploymentFramework.targets".
Overriding target "UndeployAppDefinition" in project "C:\Program Files (x86)\TM.UPS\1.0\Deployment\Framework\BizTalkDeploymentFramework.targets" with target "UndeployAppDefinition" from project "C:\Prog\Tools\BizTalkExtension\DeploymentFramework\Targets\1.0.0\Custom.BizTalkDeploymentFramework.targets".
Overriding target "VerifyBizTalkAppExists" in project "C:\Program Files (x86)\TM.UPS\1.0\Deployment\Framework\BizTalkDeploymentFramework.targets" with target "VerifyBizTalkAppExists" from project "C:\Prog\Tools\BizTalkExtension\DeploymentFramework\Targets\1.0.0\Custom.BizTalkDeploymentFramework.targets".
Overriding target "CustomRedist" in project "C:\Program Files (x86)\TM.UPS\1.0\Deployment\Framework\BizTalkDeploymentFramework.WiXSetup.targets" with target "CustomRedist" from project "C:\Program Files (x86)\TM.UPS\1.0\Deployment\Deployment.btdfproj".
Project "C:\Program Files (x86)\TM.UPS\1.0\Deployment\Deployment.btdfproj" on node 1 (Undeploy target(s)).
Building with tools version "4.0".
Target "SetUndeployProperties" in file "C:\Program Files (x86)\TM.UPS\1.0\Deployment\Framework\BizTalkDeploymentFramework.targets" from project "C:\Program Files (x86)\TM.UPS\1.0\Deployment\Deployment.btdfproj" (target "Undeploy" depends on it):
Using "Message" task from assembly "Microsoft.Build.Tasks.v4.0, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a".
Task "Message"
  UNDEPLOYING APPLICATION FROM BIZTALK...
Done executing task "Message".
Done building target "SetUndeployProperties" in project "Deployment.btdfproj".
Target "CustomPreExportSettings" in file "C:\Program Files (x86)\TM.UPS\1.0\Deployment\Framework\BizTalkDeploymentFramework.targets" from project "C:\Program Files (x86)\TM.UPS\1.0\Deployment\Deployment.btdfproj" (target "ExportSettings" depends on it):
Done building target "CustomPreExportSettings" in project "Deployment.btdfproj".
Target "ExportSettings" in file "C:\Program Files (x86)\TM.UPS\1.0\Deployment\Framework\BizTalkDeploymentFramework.targets" from project "C:\Program Files (x86)\TM.UPS\1.0\Deployment\Deployment.btdfproj" (target "InitSettingsFilePath" depends on it):
Task "Message" skipped, due to false condition; (!Exists('$(EffectiveSettingsSpreadsheetPath)')) was evaluated as (!Exists('C:\Program Files (x86)\TM.UPS\1.0\Deployment\EnvironmentSettings\SettingsFileGenerator.xml')).
Using "Exec" task from assembly "Microsoft.Build.Tasks.v4.0, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a".
Task "Exec"
  "C:\Program Files (x86)\TM.UPS\1.0\Deployment\Framework\DeployTools\EnvironmentSettingsExporter.exe" "C:\Program Files (x86)\TM.UPS\1.0\Deployment\EnvironmentSettings\SettingsFileGenerator.xml" "C:\Program Files (x86)\TM.UPS\1.0\Deployment\EnvironmentSettings"
  Environment Settings Spreadsheet to XML Exporter 1.6.1
  [http://EnvSettingsManager.codeplex.com]
  Copyright (C) 2007-11 Thomas F. Abraham.  All Rights Reserved.

  Importing from SettingsFileGenerator.xml...

  Output format is XmlPreprocess (multi-file).

  Exporting to Exported_LocalSettings.xml...
  Exporting to Exported_DevSettings.xml...
  Exporting to Exported_TestSettings.xml...
  Exporting to Exported_ProdSettings.xml...

  Finished.
Done executing task "Exec".
Done building target "ExportSettings" in project "Deployment.btdfproj".
Target "InitSettingsFilePath" in file "C:\Program Files (x86)\TM.UPS\1.0\Deployment\Framework\BizTalkDeploymentFramework.targets" from project "C:\Program Files (x86)\TM.UPS\1.0\Deployment\Deployment.btdfproj" (target "SetPropertiesFromEnvironmentSettings" depends on it):
Task "SetRegistryValue" skipped, due to false condition; ('$(Configuration)' == 'Server' and '$(DeploymentMode)' == 'Deploy' and '$(SettingsFilePath)' != '') was evaluated as ('Server' == 'Server' and 'Undeploy' == 'Deploy' and '' != '').
Task "Message"
  Invalid settings file path.
Done executing task "Message".
Task "Message" skipped, due to false condition; ('$(SettingsFilePath)' != '') was evaluated as ('' != '').
Done building target "InitSettingsFilePath" in project "Deployment.btdfproj".
Target "SetPropertiesFromEnvironmentSettings" in file "C:\Program Files (x86)\TM.UPS\1.0\Deployment\Framework\BizTalkDeploymentFramework.targets" from project "C:\Program Files (x86)\TM.UPS\1.0\Deployment\Deployment.btdfproj" (target "LoadPropsFromEnvSettingsThenExecute" depends on it):
Task "Message" skipped, due to false condition; ('$(SettingsFilePath)' != '' and Exists('$(SettingsFilePath)')) was evaluated as ('' != '' and Exists('')).
Task "SetPropFromEnvSetting" skipped, due to false condition; ('$(SettingsFilePath)' != '' and Exists('$(SettingsFilePath)')) was evaluated as ('' != '' and Exists('')).
Task "SetPropFromEnvSetting" skipped, due to false condition; ('$(SettingsFilePath)' != '' and Exists('$(SettingsFilePath)')) was evaluated as ('' != '' and Exists('')).
Task "SetPropFromEnvSetting" skipped, due to false condition; ('$(SettingsFilePath)' != '' and Exists('$(SettingsFilePath)')) was evaluated as ('' != '' and Exists('')).
Task "SetPropFromEnvSetting" skipped, due to false condition; ('$(SettingsFilePath)' != '' and Exists('$(SettingsFilePath)')) was evaluated as ('' != '' and Exists('')).
Task "SetPropFromEnvSetting" skipped, due to false condition; ('$(SettingsFilePath)' != '' and Exists('$(SettingsFilePath)')) was evaluated as ('' != '' and Exists('')).
Task "SetPropFromEnvSetting" skipped, due to false condition; ('$(SettingsFilePath)' != '' and Exists('$(SettingsFilePath)')) was evaluated as ('' != '' and Exists('')).
Task "GetPropsFromEnvSettingsDelimited" skipped, due to false condition; ('$(SettingsFilePath)' != '' and Exists('$(SettingsFilePath)')) was evaluated as ('' != '' and Exists('')).
Done building target "SetPropertiesFromEnvironmentSettings" in project "Deployment.btdfproj".
Target "LoadPropsFromEnvSettingsThenExecute" in file "C:\Program Files (x86)\TM.UPS\1.0\Deployment\Framework\BizTalkDeploymentFramework.targets" from project "C:\Program Files (x86)\TM.UPS\1.0\Deployment\Deployment.btdfproj" (target "Undeploy" depends on it):
Task "Error" skipped, due to false condition; ('$(TargetsAfterLoadPropsFromEnvSettings)' == '') was evaluated as ('ServerUndeploy' == '').
Using "MSBuild" task from assembly "Microsoft.Build.Tasks.v4.0, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a".
Task "MSBuild"
  Global Properties:
    LoadedPropsFromEnvSettings=True
    SkipExportSettings=True
Overriding target "CustomPostExportSettings" in project "C:\Program Files (x86)\TM.UPS\1.0\Deployment\Framework\BizTalkDeploymentFramework.targets" with target "CustomPostExportSettings" from project "C:\Prog\Tools\BizTalkExtension\DeploymentFramework\Targets\1.0.0\Custom.BizTalkDeploymentFramework.targets".
Overriding target "CustomFinalDeploy" in project "C:\Program Files (x86)\TM.UPS\1.0\Deployment\Framework\BizTalkDeploymentFramework.targets" with target "CustomFinalDeploy" from project "C:\Prog\Tools\BizTalkExtension\DeploymentFramework\Targets\1.0.0\Custom.BizTalkDeploymentFramework.targets".
Overriding target "CustomFinalUndeploy" in project "C:\Program Files (x86)\TM.UPS\1.0\Deployment\Framework\BizTalkDeploymentFramework.targets" with target "CustomFinalUndeploy" from project "C:\Prog\Tools\BizTalkExtension\DeploymentFramework\Targets\1.0.0\Custom.BizTalkDeploymentFramework.targets".
Overriding target "DeployAppDefinition" in project "C:\Program Files (x86)\TM.UPS\1.0\Deployment\Framework\BizTalkDeploymentFramework.targets" with target "DeployAppDefinition" from project "C:\Prog\Tools\BizTalkExtension\DeploymentFramework\Targets\1.0.0\Custom.BizTalkDeploymentFramework.targets".
Overriding target "UndeployAppDefinition" in project "C:\Program Files (x86)\TM.UPS\1.0\Deployment\Framework\BizTalkDeploymentFramework.targets" with target "UndeployAppDefinition" from project "C:\Prog\Tools\BizTalkExtension\DeploymentFramework\Targets\1.0.0\Custom.BizTalkDeploymentFramework.targets".
Overriding target "VerifyBizTalkAppExists" in project "C:\Program Files (x86)\TM.UPS\1.0\Deployment\Framework\BizTalkDeploymentFramework.targets" with target "VerifyBizTalkAppExists" from project "C:\Prog\Tools\BizTalkExtension\DeploymentFramework\Targets\1.0.0\Custom.BizTalkDeploymentFramework.targets".
Overriding target "CustomRedist" in project "C:\Program Files (x86)\TM.UPS\1.0\Deployment\Framework\BizTalkDeploymentFramework.WiXSetup.targets" with target "CustomRedist" from project "C:\Program Files (x86)\TM.UPS\1.0\Deployment\Deployment.btdfproj".
Project "C:\Program Files (x86)\TM.UPS\1.0\Deployment\Deployment.btdfproj" (1) is building "C:\Program Files (x86)\TM.UPS\1.0\Deployment\Deployment.btdfproj" (1:2) on node 1 (ServerUndeploy target(s)).
Building with tools version "4.0".
Target "SetServerUndeployProperties" in file "C:\Program Files (x86)\TM.UPS\1.0\Deployment\Framework\BizTalkDeploymentFramework.targets" from project "C:\Program Files (x86)\TM.UPS\1.0\Deployment\Deployment.btdfproj" (target "ServerUndeploy" depends on it):
Done building target "SetServerUndeployProperties" in project "Deployment.btdfproj".
Target "SetPropertiesFromEnvironmentSettings" skipped, due to false condition; ('@(PropsFromEnvSettings)' != '' and '$(LoadedPropsFromEnvSettings)' != 'true') was evaluated as ('SsoAppUserGroup;SsoAppAdminGroup;ESBLookupConnectionString;ESBTrackingConnectionString;B2BUsername;B2BPassword' != '' and 'True' != 'true').
Target "LoadPropsFromEnvSettingsThenExecute" in file "C:\Program Files (x86)\TM.UPS\1.0\Deployment\Framework\BizTalkDeploymentFramework.targets" from project "C:\Program Files (x86)\TM.UPS\1.0\Deployment\Deployment.btdfproj" (target "ServerUndeploy" depends on it):
Task "Error" skipped, due to false condition; ('$(TargetsAfterLoadPropsFromEnvSettings)' == '') was evaluated as ('UndeployBizTalkMgmtDB_true' == '').
Task "MSBuild"
  Global Properties:
    LoadedPropsFromEnvSettings=True
    SkipExportSettings=True
Project "C:\Program Files (x86)\TM.UPS\1.0\Deployment\Deployment.btdfproj" (1:2) is building "C:\Program Files (x86)\TM.UPS\1.0\Deployment\Deployment.btdfproj" (1:3) on node 1 (UndeployBizTalkMgmtDB_true target(s)).
Building with tools version "4.0".
Target "CustomPreInitialize" in file "C:\Program Files (x86)\TM.UPS\1.0\Deployment\Framework\BizTalkDeploymentFramework.targets" from project "C:\Program Files (x86)\TM.UPS\1.0\Deployment\Deployment.btdfproj" (target "DevUndeploy" depends on it):
Done building target "CustomPreInitialize" in project "Deployment.btdfproj".
Target "PrintHeader" in file "C:\Program Files (x86)\TM.UPS\1.0\Deployment\Framework\BizTalkDeploymentFramework.targets" from project "C:\Program Files (x86)\TM.UPS\1.0\Deployment\Deployment.btdfproj" (target "FrameworkInitialize" depends on it):
Task "Message"
  Using Deployment Framework Install Path 'C:\Program Files (x86)\TM.UPS\1.0\Deployment\'.
Done executing task "Message".
Task "Message"
  Using Deployment Framework Tools Path 'C:\Program Files (x86)\TM.UPS\1.0\Deployment\Framework\DeployTools'.
Done executing task "Message".
Task "Message"
  Using .NET Framework Install Path 'C:\Windows\Microsoft.NET\Framework\v4.0.30319'.
Done executing task "Message".
Task "Message"
  Using BizTalk Install Path 'C:\Program Files (x86)\Microsoft BizTalk Server 2013 R2\'.
Done executing task "Message".
Task "Message" skipped, due to false condition; ('$(EsbDir)' != '') was evaluated as ('' != '').
Task "Message"
  Detected IIS 8
Done executing task "Message".
Task "Message"
  Using BizTalk Application Name 'TM.UPS'
Done executing task "Message".
Done building target "PrintHeader" in project "Deployment.btdfproj".
Target "ExportSettings" skipped, due to false condition; ('$(SkipExportSettings)' != 'true') was evaluated as ('True' != 'true').
Target "CustomPostExportSettings" in file "C:\Prog\Tools\BizTalkExtension\DeploymentFramework\Targets\1.0.0\Custom.BizTalkDeploymentFramework.targets" from project "C:\Program Files (x86)\TM.UPS\1.0\Deployment\Deployment.btdfproj" (target "FrameworkInitialize" depends on it):
Task "Message"
  PostExportSettingsFile started- Custom Task for Environment ACC
Done executing task "Message".
Task "Message"
  Getting Settings from URL http://vmweb2venlo/DeploymentService/DeploymentSettingService.svc/wshttp  for Environment ACC
Done executing task "Message".
Task "Message" skipped, due to false condition; ('$(UseEnvSettingsDB)' == 'false') was evaluated as ('True' == 'false').
Using "GetEnvironmentSettingsTasks" task from assembly "C:\Prog\Tools\BizTalkExtension\DeploymentFramework\\\Tasks\DevWeb.BizTalk.DeploymentFramework.Tasks.dll".
Task "GetEnvironmentSettingsTasks"
  User administrator called GetEnvironmentSettingsTasks for integration TM.UPS with version : 1.0.0 (ProductId:b05f5ba2-f413-4564-9414-1b72b09fd982) (ProductUpgradeCodeb76fa976-41ea-44e5-a0ca-bf1ce3c8667e) on date: 02/09/2017 15:03:30
  Setup Client   to http://vmweb2venlo/DeploymentService/DeploymentSettingService.svc/wshttp  
  Found 10 settings for this integration 
  Settings saved  to C:\Program Files (x86)\TM.UPS\1.0\Deployment\EnvironmentSettings\ACC.xml settings for this integration 
Done executing task "GetEnvironmentSettingsTasks".
Done building target "CustomPostExportSettings" in project "Deployment.btdfproj".
Target "SetPropertiesFromEnvironmentSettings" skipped, due to false condition; ('@(PropsFromEnvSettings)' != '' and '$(LoadedPropsFromEnvSettings)' != 'true') was evaluated as ('SsoAppUserGroup;SsoAppAdminGroup;ESBLookupConnectionString;ESBTrackingConnectionString;B2BUsername;B2BPassword' != '' and 'True' != 'true').
Target "FrameworkInitialize" in file "C:\Program Files (x86)\TM.UPS\1.0\Deployment\Framework\BizTalkDeploymentFramework.targets" from project "C:\Program Files (x86)\TM.UPS\1.0\Deployment\Deployment.btdfproj" (target "DevUndeploy" depends on it):
Done building target "FrameworkInitialize" in project "Deployment.btdfproj".
Target "CustomPostInitialize" in file "C:\Program Files (x86)\TM.UPS\1.0\Deployment\Framework\BizTalkDeploymentFramework.targets" from project "C:\Program Files (x86)\TM.UPS\1.0\Deployment\Deployment.btdfproj" (target "DevUndeploy" depends on it):
Done building target "CustomPostInitialize" in project "Deployment.btdfproj".
Target "CustomUndeployTarget" in file "C:\Program Files (x86)\TM.UPS\1.0\Deployment\Framework\BizTalkDeploymentFramework.targets" from project "C:\Program Files (x86)\TM.UPS\1.0\Deployment\Deployment.btdfproj" (target "DevUndeploy" depends on it):
Done building target "CustomUndeployTarget" in project "Deployment.btdfproj".
Target "InitializeAppName" skipped, due to false condition; ('$(BizTalkAppName)' == '') was evaluated as ('TM.UPS' == '').
Target "VerifyBizTalkAppExists" in file "C:\Prog\Tools\BizTalkExtension\DeploymentFramework\Targets\1.0.0\Custom.BizTalkDeploymentFramework.targets" from project "C:\Program Files (x86)\TM.UPS\1.0\Deployment\Deployment.btdfproj" (target "PrepareAppForUndeploy" depends on it):
Task "Message"
  VerifyBizTalkAppExists : Checking Application Existence
Done executing task "Message".
Using "GetBizTalkAppExists" task from assembly "C:\Program Files (x86)\TM.UPS\1.0\Deployment\Framework\BizTalkDeploymentFramework.Tasks.BizTalk.dll".
Task "GetBizTalkAppExists"
  Checking for existence of BizTalk application 'TM.UPS'...
  Found BizTalk application 'TM.UPS'.
Done executing task "GetBizTalkAppExists".
Done building target "VerifyBizTalkAppExists" in project "Deployment.btdfproj".
Target "PrepareAppForUndeploy" in file "C:\Program Files (x86)\TM.UPS\1.0\Deployment\Framework\BizTalkDeploymentFramework.targets" from project "C:\Program Files (x86)\TM.UPS\1.0\Deployment\Deployment.btdfproj" (target "DevUndeploy" depends on it):
Task "Error" skipped, due to false condition; ('$(AppExists)' == 'false' and '$(DeploymentMode)' == 'Undeploy') was evaluated as ('True' == 'false' and '' == 'Undeploy').
Using "CallTarget" task from assembly "Microsoft.Build.Tasks.v4.0, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a".
Task "CallTarget"
Target "VerifyBizTalkAppExists" skipped. Previously built successfully.
Target "StopApplicationViaBizTalk" skipped, due to false condition; ('$(UseLegacyApplicationControl)' == 'true' and '$(AppExists)' == 'true') was evaluated as ('false' == 'true' and 'True' == 'true').
Target "StopTheApplication" in file "C:\Program Files (x86)\TM.UPS\1.0\Deployment\Framework\BizTalkDeploymentFramework.targets" from project "C:\Program Files (x86)\TM.UPS\1.0\Deployment\Deployment.btdfproj" (target "StopApplication" depends on it):
Task "Message"
  Stopping TM.UPS application at 02-09-17 03:03:31.
Done executing task "Message".
Using "ControlBizTalkReceiveLocations" task from assembly "C:\Program Files (x86)\TM.UPS\1.0\Deployment\Framework\BizTalkDeploymentFramework.Tasks.BizTalk.dll".
Task "ControlBizTalkReceiveLocations"
  Disabling receive location 'TM.UPS.CSVshipment_to_TM.Shared.Order'...
  Committing Receive Location actions...
  Committed Receive Location actions.
Done executing task "ControlBizTalkReceiveLocations".
Using "ControlBizTalkOrchestrations" task from assembly "C:\Program Files (x86)\TM.UPS\1.0\Deployment\Framework\BizTalkDeploymentFramework.Tasks.BizTalk.dll".
Task "ControlBizTalkOrchestrations"
  Unenlisting orchestration 'TM.UPS.Orchestrations.Orchestration_1'...
  Committing Orchestration actions...
  Committed Orchestration actions.
Done executing task "ControlBizTalkOrchestrations".
Using "ControlBizTalkSendPortGroups" task from assembly "C:\Program Files (x86)\TM.UPS\1.0\Deployment\Framework\BizTalkDeploymentFramework.Tasks.BizTalk.dll".
Task "ControlBizTalkSendPortGroups"
Done executing task "ControlBizTalkSendPortGroups".
Using "ControlBizTalkSendPorts" task from assembly "C:\Program Files (x86)\TM.UPS\1.0\Deployment\Framework\BizTalkDeploymentFramework.Tasks.BizTalk.dll".
Task "ControlBizTalkSendPorts"
  Unenlisting send port 'TM.UPS.SharedOrder_to_TM.Shared.Order'...
  Committing Send Port actions...
  Committed Send Port actions.
Done executing task "ControlBizTalkSendPorts".
Done building target "StopTheApplication" in project "Deployment.btdfproj".
Target "StopApplication" in file "C:\Program Files (x86)\TM.UPS\1.0\Deployment\Framework\BizTalkDeploymentFramework.targets" from project "C:\Program Files (x86)\TM.UPS\1.0\Deployment\Deployment.btdfproj" (target "PrepareAppForUndeploy" depends on it):
Done building target "StopApplication" in project "Deployment.btdfproj".
Done executing task "CallTarget".
Task "CallTarget"
Target "TerminateServiceInstancesConditional" skipped, due to false condition; ('$(AutoTerminateInstances)' == 'true') was evaluated as ('' == 'true').
Done executing task "CallTarget".
Using "CheckForServiceInstances" task from assembly "C:\Program Files (x86)\TM.UPS\1.0\Deployment\Framework\BizTalkDeploymentFramework.Tasks.BizTalk.dll".
Task "CheckForServiceInstances"
  Checking for existing service instances associated with application 'TM.UPS'...
  Done checking for existing service instances associated with application 'TM.UPS'.
Done executing task "CheckForServiceInstances".
Done building target "PrepareAppForUndeploy" in project "Deployment.btdfproj".
Target "StopBizTalk" in file "C:\Program Files (x86)\TM.UPS\1.0\Deployment\Framework\BizTalkDeploymentFramework.targets" from project "C:\Program Files (x86)\TM.UPS\1.0\Deployment\Deployment.btdfproj" (target "ConditionalHostStop" depends on it):
Task "Exec" skipped, due to false condition; ('$(SkipIISReset)' == 'false' and '@(IISAppPool)' == '') was evaluated as ('True' == 'false' and '' == '').
Task "RecycleAppPool" skipped, due to false condition; ('$(SkipIISReset)' == 'false' and '@(IISAppPool)' != '') was evaluated as ('True' == 'false' and '' != '').
Task "CallTarget"
Target "StopAllBizTalkHosts" in file "C:\Program Files (x86)\TM.UPS\1.0\Deployment\Framework\BizTalkDeploymentFramework.targets" from project "C:\Program Files (x86)\TM.UPS\1.0\Deployment\Deployment.btdfproj" (target "StopBizTalk" depends on it):
Task "Message"
  Host list (BizTalkHosts ItemGroup) not customized.
Done executing task "Message".
Using "ControlBizTalkHostInstance" task from assembly "C:\Program Files (x86)\TM.UPS\1.0\Deployment\Framework\BizTalkDeploymentFramework.Tasks.dll".
Task "ControlBizTalkHostInstance"
Done executing task "ControlBizTalkHostInstance".
Done building target "StopAllBizTalkHosts" in project "Deployment.btdfproj".
Done executing task "CallTarget".
Task "CallTarget" skipped, due to false condition; ('@(BizTalkHosts)' != '') was evaluated as ('' != '').
Done building target "StopBizTalk" in project "Deployment.btdfproj".
Target "ConditionalHostStop" in file "C:\Program Files (x86)\TM.UPS\1.0\Deployment\Framework\BizTalkDeploymentFramework.targets" from project "C:\Program Files (x86)\TM.UPS\1.0\Deployment\Deployment.btdfproj" (target "DevUndeploy" depends on it):
Done building target "ConditionalHostStop" in project "Deployment.btdfproj".
Target "UndeployBam" skipped, due to false condition; ('$(IncludeBAM)' == 'true' and ('$(SkipUndeploy)' == 'false' and '$(SkipBamUndeploy)' == 'false')) was evaluated as ('false' == 'true' and ('false' == 'false' and 'true' == 'false')).
Target "UndeployBtsNtSvcExeConfig" in file "C:\Program Files (x86)\TM.UPS\1.0\Deployment\Framework\BizTalkDeploymentFramework.targets" from project "C:\Program Files (x86)\TM.UPS\1.0\Deployment\Deployment.btdfproj" (target "DevUndeploy" depends on it):
Task "UpdateBizTalkAppDomainConfig" skipped, due to false condition; ('$(UseIsolatedAppDomain)' == 'true') was evaluated as ('false' == 'true').
Done building target "UndeployBtsNtSvcExeConfig" in project "Deployment.btdfproj".
Target "UndeployEsbItineraries" skipped, due to false condition; ('$(IncludeEsbItineraries)' == 'true' and '$(SkipUndeploy)' == 'false') was evaluated as ('false' == 'true' and 'false' == 'false').
Target "UndeployOrchestrations" in file "C:\Program Files (x86)\TM.UPS\1.0\Deployment\Framework\BizTalkDeploymentFramework.targets" from project "C:\Program Files (x86)\TM.UPS\1.0\Deployment\Deployment.btdfproj" (target "UndeploySchemas" depends on it):
Task "Exec"
  "C:\Program Files (x86)\TM.UPS\1.0\Deployment\Framework\DeployTools\gacutil.exe" /u ""
  Microsoft (R) .NET Global Assembly Cache Utility.  Version 4.0.30319.1
  Copyright (c) Microsoft Corporation.  All rights reserved.

  Failure removing assembly from cache:   The parameter is incorrect.

C:\Program Files (x86)\TM.UPS\1.0\Deployment\Framework\BizTalkDeploymentFramework.targets(1305,5): error MSB3073: The command ""C:\Program Files (x86)\TM.UPS\1.0\Deployment\Framework\DeployTools\gacutil.exe" /u """ exited with code 1. [C:\Program Files (x86)\TM.UPS\1.0\Deployment\Deployment.btdfproj]
Done executing task "Exec" -- FAILED.
Done building target "UndeployOrchestrations" in project "Deployment.btdfproj" -- FAILED.
Done Building Project "C:\Program Files (x86)\TM.UPS\1.0\Deployment\Deployment.btdfproj" (UndeployBizTalkMgmtDB_true target(s)) -- FAILED.

Done executing task "MSBuild" -- FAILED.
Done building target "LoadPropsFromEnvSettingsThenExecute" in project "Deployment.btdfproj" -- FAILED.
Done Building Project "C:\Program Files (x86)\TM.UPS\1.0\Deployment\Deployment.btdfproj" (ServerUndeploy target(s)) -- FAILED.

Done executing task "MSBuild" -- FAILED.
Done building target "LoadPropsFromEnvSettingsThenExecute" in project "Deployment.btdfproj" -- FAILED.
Done Building Project "C:\Program Files (x86)\TM.UPS\1.0\Deployment\Deployment.btdfproj" (Undeploy target(s)) -- FAILED.


Build FAILED.

"C:\Program Files (x86)\TM.UPS\1.0\Deployment\Deployment.btdfproj" (Undeploy target) (1) ->
"C:\Program Files (x86)\TM.UPS\1.0\Deployment\Deployment.btdfproj" (ServerUndeploy target) (1:2) ->
"C:\Program Files (x86)\TM.UPS\1.0\Deployment\Deployment.btdfproj" (UndeployBizTalkMgmtDB_true target) (1:3) ->
(UndeployOrchestrations target) -> 
  C:\Program Files (x86)\TM.UPS\1.0\Deployment\Framework\BizTalkDeploymentFramework.targets(1305,5): error MSB3073: The command ""C:\Program Files (x86)\TM.UPS\1.0\Deployment\Framework\DeployTools\gacutil.exe" /u """ exited with code 1. [C:\Program Files (x86)\TM.UPS\1.0\Deployment\Deployment.btdfproj]

    0 Warning(s)
    1 Error(s)

Time Elapsed 00:00:03.79

1 个答案:

答案 0 :(得分:2)

关键错误是

  

从缓存中删除程序集失败:参数不正确。

之后发生
Task "Exec"  
    "C:\Program Files (x86)\TM.UPS\1.0\Deployment\Framework\DeployTools\gacutil.exe" /u ""

该命令中没有指定DLL名称。 我希望看到

Task "Exec"  
    "C:\Program Files (x86)\TM.UPS\1.0\Deployment\Framework\DeployTools\gacutil.exe" /u "projectname.dll"

因此,检查的位置将是您的部署配置,以查看您是否未正确定义其中一个项目。也许您的开发环境有一个陈旧的文件副本?强制从源存储库获取最新信息