Quantcast
Channel: MSBuild Extension Pack
Viewing all articles
Browse latest Browse all 1211

New Post: IIS.Create application inside virtual directory

$
0
0
Hi, I think you can actually do this, you just need to specify the right include path, here is a sample

<ItemGroup>
<Application1 Include="/vd1/app1">
            <PhysicalPath>C:\photos</PhysicalPath>
            <AppPool>NewAppPool100</AppPool>
        </Application1>
    </ItemGroup>
    <MSBuild.ExtensionPack.Web.Iis7Website TaskAction="AddApplication" Name="NewSite" Applications="@(Application1)"/>

vd1 in this case is the path of a virtual directory I have in the website

Mike

Viewing all articles
Browse latest Browse all 1211

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>