1

Closed

Feature: Enable overwrite for CopyVirtualDirectoryFiles

description

In the past BTDF successfully deployed multiple virtual directories with the same app pool and physical path. Since I upgraded to BTDF 6 all but the first CopyVirtualDirectoryFiles task fails since it is hard coded to not overwrite.

(BizTalkDeploymentFramework.Tasks, Version=6.0.110.0)
error MSB4018: The "CopyVirtualDirectoryFiles" task failed unexpectedly. 
error MSB4018: System.IO.IOException: The file '...\BTSHTTPReceive.dll' already exists. 
btdfproj snippet:
<ItemGroup>
<IISApp Include="as2">
  <AppPoolName>BtsHttpReceive</AppPoolName>
  <PhysicalPath>..\BtsHttpReceive</PhysicalPath>
  <VirtualPath>/as2</VirtualPath>
  <IsapiFileName>BtsHttpReceive.dll</IsapiFileName>
</IISApp>
<IISApp Include="as2edi">
  <AppPoolName>BtsHttpReceive</AppPoolName>
  <PhysicalPath>..\BtsHttpReceive</PhysicalPath>
  <VirtualPath>/as2edi</VirtualPath>
  <IsapiFileName>BtsHttpReceive.dll</IsapiFileName>
</IISApp>
 <!-- +2 more for two-way (synchronous) equivalents of the above -->
</ItemGroup>

Several workarounds come to mind, but what do you recommend given multiple existing partners require different port types (one/two-way) and/or receive pipelines (As2/As2Edi)?
Closed Mar 15 at 6:29 AM by tfabraham

comments

wrote Mar 15 at 6:29 AM

Resolved with changeset 79769.