2017-02-09 127 views
0

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

我知道使用编排的解决方案会发生问题。没有编排的MSI没有问题,但是我的电脑上编制的编排解决方案确实存在这个问题。如果他们建立在另一台电脑上,那么他们很好。

我知道这是一个很长的范围,但有人有一个想法是什么问题可以吗?随着undeploying或也许我的电脑和其他电脑之间的差异可以是什么?

这是错误代码我得到的,而取消部署这是在我的开发人员的电脑中创建的解决方案:

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 

回答

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" 

所以检查将看到您的部署配置,如果你没有正确定义项目之一的地方。也许你的开发环境有一个陈旧的文件副本?强制从源代码仓库获取最新版本

相关问题