Skip to content

update and delete iis artifacts in v5.7 does not seem to work. #449

@saaffy

Description

@saaffy

I want to be able to undeploy my MSI and let the BTDF delete the virtual dir. Though the setting UndeployAction is set to Delete, undeploying does NOT remove the virtual dir (only the folder /solution_1.2.3_ on disk)
Also, if I then install a newer version of the same solution, I would expect that the still existing virtual dir gets mapped to the new version folder /solution_1.2.4_). But instead the virtual dir is mapped on the old (removed) folder.

These are my settings ....

<!-- IIS AppPools-->
  <ItemGroup>
    <IISAppPool Include="BiztalkAppPool">
      <DeployAction>Create</DeployAction>
      <DotNetFrameworkVersion>v4.0</DotNetFrameworkVersion>
      <Enable32Bit>false</Enable32Bit>
      <IdentityType>ApplicationPoolIdentity</IdentityType>
      <PipelineMode>Integrated</PipelineMode>
      <UndeployAction>None</UndeployAction>
    </IISAppPool>
  </ItemGroup>

  <ItemGroup>
    <IISApp Include="XXXX.YYYYY">
      <AppPoolName>BiztalkAppPool</AppPoolName>
<Exclusions>*.csproj;Web.Debug.config;Web.Release.config;WcfServiceDescription.xml;obj;Properties</Exclusions>
      <DeployAction>CreateOrUpdate</DeployAction>
      <PhysicalPath>..\XXXX.YYY.PATH</PhysicalPath>
      <SiteName>Default Web Site</SiteName>
      <UndeployAction>Delete</UndeployAction>
      <VirtualPath>/XXXX.YYYYYYYY</VirtualPath>
    </IISApp>
  </ItemGroup>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions