Help needed with deployment

Topics: Getting Started/Beginner
Aug 13, 2010 at 4:20 PM
Edited Aug 13, 2010 at 5:56 PM

Guys, I am a newbie to this framework and would appreciate if someone help me figure this error? I performed steps in the order mentioned below

 1) Create solution, schemas, maps, orchestration etc.

2) deploy solution using VS 2008 3) export bindings to portbindings.xml from bt admin console 4) undeploy solution using VS 2008 5) try to deploy the solution using deploy solution option added by this framework and below is the trace.


Starting build... C:\Windows\Microsoft.NET\Framework\v3.5\MSBuild.exe "C:\Projects\BTS\BTFramework\Deployment\BTFramework.Deployment.btdfproj" /nologo /t:Deploy /p:Configuration=Debug Build started 8/13/2010 11:04:32 AM. Project "C:\Projects\BTS\BTFramework\Deployment\BTFramework.Deployment.btdfproj" on node 0 (Deploy target(s)). Running on Windows V61 Detected IIS 7 Detected 64-bit OS GetSoftwarePaths: Using .NET Framework Install Path 'C:\Windows\Microsoft.NET\Framework\v2.0.50727'. Using BizTalk Install Path 'C:\Program Files (x86)\Microsoft BizTalk Server 2009\'. Using Deployment Framework Install Path 'C:\Program Files (x86)\Deployment Framework for BizTalk\5.0\'. Using Deployment Framework Tools Path 'C:\Program Files (x86)\Deployment Framework for BizTalk\5.0\Framework\DeployTools'. Using BizTalk ESB Toolkit Install Path 'C:\Program Files (x86)\Microsoft BizTalk ESB Toolkit 2.0\'. InitSettingsFilePath: Using settings file C:\Projects\BTS\BTFramework\Deployment\EnvironmentSettings\local_settings.xml ExportSettings: Environment Settings Spreadsheet to XML Exporter 1.5.1 [http://EnvSettingsManager.codeplex.com] Copyright (C) 2007-10 Thomas F. Abraham. All Rights Reserved. Importing from SettingsFileGenerator.xml... Output format is XmlPreprocess (multi-file). Exporting to local_settings.xml... Exporting to DEVL_settings.xml... Exporting to QA_settings.xml... Exporting to PROD_settings.xml... Finished. InitializeAppName: BizTalk Application Name is BTFramework PreprocessBindings: Clearing file attributes for 'PortBindings.xml'. XmlPreprocess v2.0.11.0 Copyright (c) 2004-2009 Loren M Halvorson XML File Preprocessor Settings XML file: "C:\Projects\BTS\BTFramework\Deployment\EnvironmentSettings\local_settings.xml" Preprocessing "C:\Projects\BTS\BTFramework\Deployment\PortBindings.xml" to "C:\Projects\BTS\BTFramework\Deployment\PortBindings.xml"... PortBindings.xml : Set the value 'BTFramework' of 2 node(s) matching XPath '//ApplicationName'. DeployFileAdapterPhysicalPaths: Configuring FILE adapter physical paths from binding file PortBindings.xml... Processing FILE adapter physical paths (Send)... Setting up path C:\BTS Ports\BTFramework\SP... Processing FILE adapter physical paths (Receive)... Setting up path C:\BTS Ports\BTFramework\RP... VerifyBizTalkAppExists: Checking for existence of BizTalk application 'BTFramework'... Found BizTalk application 'BTFramework'. StopApplication: (Retry count 0) Stopping BTFramework application... PrepareAppForUndeploy: Checking for existing service instances associated with application 'BTFramework'... Done checking for existing service instances associated with application 'BTFramework'. UndeployAppDefinition: Microsoft (R) BizTalk Application Deployment Utility Version 3.8.368.0 Copyright (c) 2006 Microsoft Corporation. All rights reserved. Information: Removing application "BTFramework" from BizTalk configuration database (server="MyServerName", database="BizTalkMgmtDb")... Information: Removed application "BTFramework". Command succeeded with 0 errors, 0 warnings. DeployAppDefinition: Microsoft (R) BizTalk Application Deployment Utility Version 3.8.368.0 Copyright (c) 2006 Microsoft Corporation. All rights reserved. Information: Adding new BizTalk application "BTFramework" to configuration database (server="MyServerName", database="BizTalkMgmtDb")... Information: Added application "BTFramework". Command succeeded with 0 errors, 0 warnings. UndeployOrchestrations: Adding assembly name 'BTFramework, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f740a4dc4ada5397' to item group. Microsoft (R) .NET Global Assembly Cache Utility. Version 2.0.50727.42 Copyright (c) Microsoft Corporation. All rights reserved. Assembly: BTFramework, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f740a4dc4ada5397, processorArchitecture=MSIL Uninstalled: BTFramework, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f740a4dc4ada5397, processorArchitecture=MSIL Number of assemblies uninstalled = 1 Number of failures = 0 UndeployTransforms: Adding assembly name 'BTFramework, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f740a4dc4ada5397' to item group. Microsoft (R) .NET Global Assembly Cache Utility. Version 2.0.50727.42 Copyright (c) Microsoft Corporation. All rights reserved. No assemblies found matching: BTFramework, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f740a4dc4ada5397 Number of assemblies uninstalled = 0 Number of failures = 0 UndeploySchemas: Adding assembly name 'BTFramework, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f740a4dc4ada5397' to item group. Microsoft (R) .NET Global Assembly Cache Utility. Version 2.0.50727.42 Copyright (c) Microsoft Corporation. All rights reserved. No assemblies found matching: BTFramework, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f740a4dc4ada5397 Number of assemblies uninstalled = 0 Number of failures = 0 DeploySchemas: Microsoft (R) BizTalk Application Deployment Utility Version 3.8.368.0 Copyright (c) 2006 Microsoft Corporation. All rights reserved. Information: Adding resource (-Type="System.BizTalk:BizTalkAssembly" -Luid="BTFramework, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f740a4dc4ada5397") to application "BTFramework"... Serialized BizTalk assembly "BTFramework, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f740a4dc4ada5397" from "..\BTFramework\bin\Debug\BTFramework.dll". Information: Validating resources (count=1)... * Validating resource (-Type="System.BizTalk:BizTalkAssembly" -Luid="BTFramework, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f740a4dc4ada5397")... Information: Performing change requests... Information: Calling BeginTypeChangeRequest for all selected resource types... PerformingBeginChangeRequest Adding resource (-Type="System.BizTalk:BizTalkAssembly" -Luid="BTFramework, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f740a4dc4ada5397") to store. Information: * Performing change request on type "System.BizTalk:BizTalkAssembly" (count=1)... Information: Deploy server="MyServerName" database="BizTalkMgmtDb" assembly="C:\Users\Administrator\AppData\Local\Temp\BT\PID3836\BizTalkAssembly\e77e02e171daccefa4b76eef5706a775\BTFramework.dll" Information: Installed the "C:\Users\Administrator\AppData\Local\Temp\BT\PID3836\BizTalkAssembly\e77e02e171daccefa4b76eef5706a775\BTFramework.dll" assembly into the Global Assembly Cache. (force=True) Information: Deploy operation succeeded. Information: Deploy server="MyServerName" database="BizTalkMgmtDb" assembly="C:\Users\Administrator\AppData\Local\Temp\BT\PID3836\BizTalkAssembly\e77e02e171daccefa4b76eef5706a775\BTFramework.dll" Saved schema "BTFramework.Emp, BTFramework, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f740a4dc4ada5397". Saved schema "BTFramework.Per, BTFramework, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f740a4dc4ada5397". Saved map "BTFramework.FolksToEmpMap". Saved message type "BTFramework.MultipartType_1". Saved message type "BTFramework.__messagetype_BTFramework_Emp". Saved port type "BTFramework.PT_Per". Saved port type "BTFramework.PT_Emp". Saved orchestration "BTFramework.MappingOrch". Saved schema "BTFramework.Emp, BTFramework, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f740a4dc4ada5397". Saved schema "BTFramework.Per, BTFramework, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f740a4dc4ada5397". Saved map "BTFramework.FolksToEmpMap". Saved message type "BTFramework.MultipartType_1". Saved message type "BTFramework.__messagetype_BTFramework_Emp". Saved port type "BTFramework.PT_Per". Saved port type "BTFramework.PT_Emp". Saved orchestration "BTFramework.MappingOrch". Information: Installed the "C:\Users\Administrator\AppData\Local\Temp\BT\PID3836\BizTalkAssembly\e77e02e171daccefa4b76eef5706a775\BTFramework.dll" assembly into the Global Assembly Cache. (force=True) Information: Deploy operation succeeded. Information: Deployed the following 1 BizTalk assemblies: BTFramework.dll Warning: If any of the assemblies were previously loaded by a Host Instance, it may be necessary to restart the Host Instance for changes to take effect. Information: Commit the change requests... * Performing EndTypeChangeRequest for resource type "System.BizTalk:BizTalkAssembly". Command succeeded with 0 errors, 0 warnings. DeploySharedAssemblies: Deploying additional assemblies to GAC... Microsoft (R) .NET Global Assembly Cache Utility. Version 2.0.50727.42 Copyright (c) Microsoft Corporation. All rights reserved. Assembly successfully added to the cache Finished deploying additional assemblies to GAC. DeployTransforms: Microsoft (R) BizTalk Application Deployment Utility Version 3.8.368.0 Copyright (c) 2006 Microsoft Corporation. All rights reserved. Information: Adding resource (-Type="System.BizTalk:BizTalkAssembly" -Luid="BTFramework, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f740a4dc4ada5397") to application "BTFramework"... Serialized BizTalk assembly "BTFramework, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f740a4dc4ada5397" from "..\BTFramework\bin\Debug\BTFramework.dll". Information: Validating resources (count=1)... * Validating resource (-Type="System.BizTalk:BizTalkAssembly" -Luid="BTFramework, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f740a4dc4ada5397")... Information: Performing change requests... Information: Calling BeginTypeChangeRequest for all selected resource types... PerformingBeginChangeRequest Adding resource (-Type="System.BizTalk:BizTalkAssembly" -Luid="BTFramework, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f740a4dc4ada5397") to store. Information: PerformingEndChangeRequestsWithRollBack * Performing EndTypeChangeRequest for resource type "System.BizTalk:BizTalkAssembly". Error: Failed to add resource(s). Resource (-Type="System.BizTalk:BizTalkAssembly" -Luid="BTFramework, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f740a4dc4ada5397") already in store. 1) Use BTSTask's overwrite flag or 2) Set redeploy flag to true in BizTalk Project or 3) Click overwrite all checkbox in Admin MMC to update if the resource exists in the specified target application "BTFramework". Overwrite flag will be ignored if the resource is associated with another application. Command failed with 1 errors, 0 warnings. C:\Program Files (x86)\MSBuild\DeploymentFrameworkForBizTalk\5.0\BizTalkDeploymentFramework.targets(1364,5): error MSB3073: The command "BTSTask.exe AddResource -Type:BizTalkAssembly -Source:"..\BTFramework\bin\Debug\BTFramework.dll" -ApplicationName:BTFramework -Options:GacOnAdd,GacOnImport,GacOnInstall" exited with code 1. Done Building Project "C:\Projects\BTS\BTFramework\Deployment\BTFramework.Deployment.btdfproj" (Deploy target(s)) -- FAILED. Build FAILED. "C:\Projects\BTS\BTFramework\Deployment\BTFramework.Deployment.btdfproj" (Deploy target) (1) -> (DeployTransforms target) -> C:\Program Files (x86)\MSBuild\DeploymentFrameworkForBizTalk\5.0\BizTalkDeploymentFramework.targets(1364,5): error MSB3073: The command "BTSTask.exe AddResource -Type:BizTalkAssembly -Source:"..\BTFramework\bin\Debug\BTFramework.dll" -ApplicationName:BTFramework -Options:GacOnAdd,GacOnImport,GacOnInstall" exited with code 1. 0 Warning(s) 1 Error(s) Time Elapsed 00:00:49.36

Coordinator
Aug 13, 2010 at 5:01 PM

Hi,

I think you have listed BTFramework.dll under multiple ItemGroups in your .btdfproj, like Schemas AND Transforms.  It has to be in only one.  If it contains schemas plus other artifacts, then it should go into a Schemas ItemGroup (only).

Thanks,
Tom

Aug 13, 2010 at 6:04 PM
tfabraham wrote:

Hi,

I think you have listed BTFramework.dll under multiple ItemGroups in your .btdfproj, like Schemas AND Transforms.  It has to be in only one.  If it contains schemas plus other artifacts, then it should go into a Schemas ItemGroup (only).

Thanks,
Tom

 I tried removing the orchestrations and transforms from the itemgroup and I get this error. So now its looking for BTFramework.Orchestrations.dll. My project has 2 schemas, a map and a orchestration.

C:\Program Files (x86)\MSBuild\DeploymentFrameworkForBizTalk\5.0\BizTalkDeploymentFramework.targets(1165,5): error MSB4018: The "GenerateAssemblyNamesItemGroup" task failed unexpectedly.
C:\Program Files (x86)\MSBuild\DeploymentFrameworkForBizTalk\5.0\BizTalkDeploymentFramework.targets(1165,5): error MSB4018: System.IO.FileNotFoundException: Could not load file or assembly 'C:\Projects\BTS\BTFramework\BTFramework.Orchestrations\bin\Debug\BTFramework.Orchestrations.dll' or one of its dependencies. The system cannot find the file specified.
C:\Program Files (x86)\MSBuild\DeploymentFrameworkForBizTalk\5.0\BizTalkDeploymentFramework.targets(1165,5): error MSB4018: File name: 'C:\Projects\BTS\BTFramework\BTFramework.Orchestrations\bin\Debug\BTFramework.Orchestrations.dll'
C:\Program Files (x86)\MSBuild\DeploymentFrameworkForBizTalk\5.0\BizTalkDeploymentFramework.targets(1165,5): error MSB4018:    at System.Reflection.AssemblyName.nGetFileInformation(String s)
C:\Program Files (x86)\MSBuild\DeploymentFrameworkForBizTalk\5.0\BizTalkDeploymentFramework.targets(1165,5): error MSB4018:    at System.Reflection.AssemblyName.GetAssemblyName(String assemblyFile)
C:\Program Files (x86)\MSBuild\DeploymentFrameworkForBizTalk\5.0\BizTalkDeploymentFramework.targets(1165,5): error MSB4018:    at DeploymentFramework.BuildTasks.GenerateAssemblyNamesItemGroup.Execute()
C:\Program Files (x86)\MSBuild\DeploymentFrameworkForBizTalk\5.0\BizTalkDeploymentFramework.targets(1165,5): error MSB4018:    at Microsoft.Build.BuildEngine.TaskEngine.ExecuteInstantiatedTask(EngineProxy engineProxy, ItemBucket bucket, TaskExecutionMode howToExecuteTask, ITask task, Boolean& taskResult)
C:\Program Files (x86)\MSBuild\DeploymentFrameworkForBizTalk\5.0\BizTalkDeploymentFramework.targets(1165,5): error MSB4018:
C:\Program Files (x86)\MSBuild\DeploymentFrameworkForBizTalk\5.0\BizTalkDeploymentFramework.targets(1165,5): error MSB4018: WRN: Assembly binding logging is turned OFF.
C:\Program Files (x86)\MSBuild\DeploymentFrameworkForBizTalk\5.0\BizTalkDeploymentFramework.targets(1165,5): error MSB4018: To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
C:\Program Files (x86)\MSBuild\DeploymentFrameworkForBizTalk\5.0\BizTalkDeploymentFramework.targets(1165,5): error MSB4018: Note: There is some performance penalty associated with assembly bind failure logging.
C:\Program Files (x86)\MSBuild\DeploymentFrameworkForBizTalk\5.0\BizTalkDeploymentFramework.targets(1165,5): error MSB4018: To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
C:\Program Files (x86)\MSBuild\DeploymentFrameworkForBizTalk\5.0\BizTalkDeploymentFramework.targets(1165,5): error MSB4018:
Done Building Project "C:\Projects\BTS\BTFramework\Deployment\BTFramework.Deployment.btdfproj" (Deploy target(s)) -- FAILED.

Build FAILED.

Aug 13, 2010 at 6:14 PM
nitinnarkar wrote:

Guys, I am a newbie to this framework and would appreciate if someone help me figure this error? I performed steps in the order mentioned below

 1) Create solution, schemas, maps, orchestration etc.

2) deploy solution using VS 2008 3) export bindings to portbindings.xml from bt admin console 4) undeploy solution using VS 2008 5) try to deploy the solution using deploy solution option added by this framework and below is the trace.


Starting build... C:\Windows\Microsoft.NET\Framework\v3.5\MSBuild.exe "C:\Projects\BTS\BTFramework\Deployment\BTFramework.Deployment.btdfproj" /nologo /t:Deploy /p:Configuration=Debug Build started 8/13/2010 11:04:32 AM. Project "C:\Projects\BTS\BTFramework\Deployment\BTFramework.Deployment.btdfproj" on node 0 (Deploy target(s)). Running on Windows V61 Detected IIS 7 Detected 64-bit OS GetSoftwarePaths: Using .NET Framework Install Path 'C:\Windows\Microsoft.NET\Framework\v2.0.50727'. Using BizTalk Install Path 'C:\Program Files (x86)\Microsoft BizTalk Server 2009\'. Using Deployment Framework Install Path 'C:\Program Files (x86)\Deployment Framework for BizTalk\5.0\'. Using Deployment Framework Tools Path 'C:\Program Files (x86)\Deployment Framework for BizTalk\5.0\Framework\DeployTools'. Using BizTalk ESB Toolkit Install Path 'C:\Program Files (x86)\Microsoft BizTalk ESB Toolkit 2.0\'. InitSettingsFilePath: Using settings file C:\Projects\BTS\BTFramework\Deployment\EnvironmentSettings\local_settings.xml ExportSettings: Environment Settings Spreadsheet to XML Exporter 1.5.1 [http://EnvSettingsManager.codeplex.com] Copyright (C) 2007-10 Thomas F. Abraham. All Rights Reserved. Importing from SettingsFileGenerator.xml... Output format is XmlPreprocess (multi-file). Exporting to local_settings.xml... Exporting to DEVL_settings.xml... Exporting to QA_settings.xml... Exporting to PROD_settings.xml... Finished. InitializeAppName: BizTalk Application Name is BTFramework PreprocessBindings: Clearing file attributes for 'PortBindings.xml'. XmlPreprocess v2.0.11.0 Copyright (c) 2004-2009 Loren M Halvorson XML File Preprocessor Settings XML file: "C:\Projects\BTS\BTFramework\Deployment\EnvironmentSettings\local_settings.xml" Preprocessing "C:\Projects\BTS\BTFramework\Deployment\PortBindings.xml" to "C:\Projects\BTS\BTFramework\Deployment\PortBindings.xml"... PortBindings.xml : Set the value 'BTFramework' of 2 node(s) matching XPath '//ApplicationName'. DeployFileAdapterPhysicalPaths: Configuring FILE adapter physical paths from binding file PortBindings.xml... Processing FILE adapter physical paths (Send)... Setting up path C:\BTS Ports\BTFramework\SP... Processing FILE adapter physical paths (Receive)... Setting up path C:\BTS Ports\BTFramework\RP... VerifyBizTalkAppExists: Checking for existence of BizTalk application 'BTFramework'... Found BizTalk application 'BTFramework'. StopApplication: (Retry count 0) Stopping BTFramework application... PrepareAppForUndeploy: Checking for existing service instances associated with application 'BTFramework'... Done checking for existing service instances associated with application 'BTFramework'. UndeployAppDefinition: Microsoft (R) BizTalk Application Deployment Utility Version 3.8.368.0 Copyright (c) 2006 Microsoft Corporation. All rights reserved. Information: Removing application "BTFramework" from BizTalk configuration database (server="MyServerName", database="BizTalkMgmtDb")... Information: Removed application "BTFramework". Command succeeded with 0 errors, 0 warnings. DeployAppDefinition: Microsoft (R) BizTalk Application Deployment Utility Version 3.8.368.0 Copyright (c) 2006 Microsoft Corporation. All rights reserved. Information: Adding new BizTalk application "BTFramework" to configuration database (server="MyServerName", database="BizTalkMgmtDb")... Information: Added application "BTFramework". Command succeeded with 0 errors, 0 warnings. UndeployOrchestrations: Adding assembly name 'BTFramework, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f740a4dc4ada5397' to item group. Microsoft (R) .NET Global Assembly Cache Utility. Version 2.0.50727.42 Copyright (c) Microsoft Corporation. All rights reserved. Assembly: BTFramework, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f740a4dc4ada5397, processorArchitecture=MSIL Uninstalled: BTFramework, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f740a4dc4ada5397, processorArchitecture=MSIL Number of assemblies uninstalled = 1 Number of failures = 0 UndeployTransforms: Adding assembly name 'BTFramework, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f740a4dc4ada5397' to item group. Microsoft (R) .NET Global Assembly Cache Utility. Version 2.0.50727.42 Copyright (c) Microsoft Corporation. All rights reserved. No assemblies found matching: BTFramework, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f740a4dc4ada5397 Number of assemblies uninstalled = 0 Number of failures = 0 UndeploySchemas: Adding assembly name 'BTFramework, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f740a4dc4ada5397' to item group. Microsoft (R) .NET Global Assembly Cache Utility. Version 2.0.50727.42 Copyright (c) Microsoft Corporation. All rights reserved. No assemblies found matching: BTFramework, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f740a4dc4ada5397 Number of assemblies uninstalled = 0 Number of failures = 0 DeploySchemas: Microsoft (R) BizTalk Application Deployment Utility Version 3.8.368.0 Copyright (c) 2006 Microsoft Corporation. All rights reserved. Information: Adding resource (-Type="System.BizTalk:BizTalkAssembly" -Luid="BTFramework, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f740a4dc4ada5397") to application "BTFramework"... Serialized BizTalk assembly "BTFramework, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f740a4dc4ada5397" from "..\BTFramework\bin\Debug\BTFramework.dll". Information: Validating resources (count=1)... * Validating resource (-Type="System.BizTalk:BizTalkAssembly" -Luid="BTFramework, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f740a4dc4ada5397")... Information: Performing change requests... Information: Calling BeginTypeChangeRequest for all selected resource types... PerformingBeginChangeRequest Adding resource (-Type="System.BizTalk:BizTalkAssembly" -Luid="BTFramework, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f740a4dc4ada5397") to store. Information: * Performing change request on type "System.BizTalk:BizTalkAssembly" (count=1)... Information: Deploy server="MyServerName" database="BizTalkMgmtDb" assembly="C:\Users\Administrator\AppData\Local\Temp\BT\PID3836\BizTalkAssembly\e77e02e171daccefa4b76eef5706a775\BTFramework.dll" Information: Installed the "C:\Users\Administrator\AppData\Local\Temp\BT\PID3836\BizTalkAssembly\e77e02e171daccefa4b76eef5706a775\BTFramework.dll" assembly into the Global Assembly Cache. (force=True) Information: Deploy operation succeeded. Information: Deploy server="MyServerName" database="BizTalkMgmtDb" assembly="C:\Users\Administrator\AppData\Local\Temp\BT\PID3836\BizTalkAssembly\e77e02e171daccefa4b76eef5706a775\BTFramework.dll" Saved schema "BTFramework.Emp, BTFramework, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f740a4dc4ada5397". Saved schema "BTFramework.Per, BTFramework, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f740a4dc4ada5397". Saved map "BTFramework.FolksToEmpMap". Saved message type "BTFramework.MultipartType_1". Saved message type "BTFramework.__messagetype_BTFramework_Emp". Saved port type "BTFramework.PT_Per". Saved port type "BTFramework.PT_Emp". Saved orchestration "BTFramework.MappingOrch". Saved schema "BTFramework.Emp, BTFramework, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f740a4dc4ada5397". Saved schema "BTFramework.Per, BTFramework, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f740a4dc4ada5397". Saved map "BTFramework.FolksToEmpMap". Saved message type "BTFramework.MultipartType_1". Saved message type "BTFramework.__messagetype_BTFramework_Emp". Saved port type "BTFramework.PT_Per". Saved port type "BTFramework.PT_Emp". Saved orchestration "BTFramework.MappingOrch". Information: Installed the "C:\Users\Administrator\AppData\Local\Temp\BT\PID3836\BizTalkAssembly\e77e02e171daccefa4b76eef5706a775\BTFramework.dll" assembly into the Global Assembly Cache. (force=True) Information: Deploy operation succeeded. Information: Deployed the following 1 BizTalk assemblies: BTFramework.dll Warning: If any of the assemblies were previously loaded by a Host Instance, it may be necessary to restart the Host Instance for changes to take effect. Information: Commit the change requests... * Performing EndTypeChangeRequest for resource type "System.BizTalk:BizTalkAssembly". Command succeeded with 0 errors, 0 warnings. DeploySharedAssemblies: Deploying additional assemblies to GAC... Microsoft (R) .NET Global Assembly Cache Utility. Version 2.0.50727.42 Copyright (c) Microsoft Corporation. All rights reserved. Assembly successfully added to the cache Finished deploying additional assemblies to GAC. DeployTransforms: Microsoft (R) BizTalk Application Deployment Utility Version 3.8.368.0 Copyright (c) 2006 Microsoft Corporation. All rights reserved. Information: Adding resource (-Type="System.BizTalk:BizTalkAssembly" -Luid="BTFramework, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f740a4dc4ada5397") to application "BTFramework"... Serialized BizTalk assembly "BTFramework, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f740a4dc4ada5397" from "..\BTFramework\bin\Debug\BTFramework.dll". Information: Validating resources (count=1)... * Validating resource (-Type="System.BizTalk:BizTalkAssembly" -Luid="BTFramework, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f740a4dc4ada5397")... Information: Performing change requests... Information: Calling BeginTypeChangeRequest for all selected resource types... PerformingBeginChangeRequest Adding resource (-Type="System.BizTalk:BizTalkAssembly" -Luid="BTFramework, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f740a4dc4ada5397") to store. Information: PerformingEndChangeRequestsWithRollBack * Performing EndTypeChangeRequest for resource type "System.BizTalk:BizTalkAssembly". Error: Failed to add resource(s). Resource (-Type="System.BizTalk:BizTalkAssembly" -Luid="BTFramework, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f740a4dc4ada5397") already in store. 1) Use BTSTask's overwrite flag or 2) Set redeploy flag to true in BizTalk Project or 3) Click overwrite all checkbox in Admin MMC to update if the resource exists in the specified target application "BTFramework". Overwrite flag will be ignored if the resource is associated with another application. Command failed with 1 errors, 0 warnings. C:\Program Files (x86)\MSBuild\DeploymentFrameworkForBizTalk\5.0\BizTalkDeploymentFramework.targets(1364,5): error MSB3073: The command "BTSTask.exe AddResource -Type:BizTalkAssembly -Source:"..\BTFramework\bin\Debug\BTFramework.dll" -ApplicationName:BTFramework -Options:GacOnAdd,GacOnImport,GacOnInstall" exited with code 1. Done Building Project "C:\Projects\BTS\BTFramework\Deployment\BTFramework.Deployment.btdfproj" (Deploy target(s)) -- FAILED. Build FAILED. "C:\Projects\BTS\BTFramework\Deployment\BTFramework.Deployment.btdfproj" (Deploy target) (1) -> (DeployTransforms target) -> C:\Program Files (x86)\MSBuild\DeploymentFrameworkForBizTalk\5.0\BizTalkDeploymentFramework.targets(1364,5): error MSB3073: The command "BTSTask.exe AddResource -Type:BizTalkAssembly -Source:"..\BTFramework\bin\Debug\BTFramework.dll" -ApplicationName:BTFramework -Options:GacOnAdd,GacOnImport,GacOnInstall" exited with code 1. 0 Warning(s) 1 Error(s) Time Elapsed 00:00:49.36

 Resolved. Changed the IncludeOrchestrations and IncludeTransforms to false from True.