簡體   English   中英

BizTalk取消部署錯誤MSB3073:命令…以代碼1退出

[英]BizTalk undeploy error MSB3073: The command … exited with code 1

我對BizTalk解決方案(TM.UPS)的取消部署操作有疑問。 我已經建立了一個msi並成功部署了它。 但是,通過取消部署它,我收到以下錯誤消息。 奇怪的是,當我在不同的開發人員機器上(但從完全相同的源代碼中)構建安裝程序MSI時,在取消部署解決方案時不會出現錯誤。 因此,看起來像我的開發人員PC上的某些區域(?)設置。 我們正在使用部署框架。

我知道問題發生在使用業務流程的解決方案中。 在沒有業務流程的情況下建立的MSI沒有問題,但是在我的PC上建立業務流程的解決方案確實存在此問題。 如果它們是在另一台PC上構建的,那么它們很好。

我知道這很遙遠,但是有人知道這個問題可能是什么嗎? 取消部署,或者我的PC和另一台PC之間可能有什么區別?

這是我在取消部署在開發人員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

關鍵錯誤是

無法從高速緩存中刪除程序集:參數不正確。

發生在

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"

因此,檢查的地方將是您的部署配置,以查看是否未正確定義項目之一。 也許您的開發環境具有該文件的陳舊副本? 強制從源存儲庫獲取最新信息

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM