Using Iis7Application with TaskAction="Create"?

Sep 14, 2011 at 2:41 PM

Hello, I am looking for help in creating a customization for my build process.  Once the build is successful and the tests finish, it is supposed to check for the existence of an application under the default web site (which I know how to do) and then if it doesn't exist to create the application during the build.  I am not seeing that verb as being supported under the IIS7 tasks?  I can do something similar with virtual folders in IIS6, but I don't see a virtual folder task under IIS7.  Is the IIS7 support incomplete at this time or am I missing something?

Sep 14, 2011 at 7:49 PM
Hi there,

It's a bit different compared to the IIS6 tasks.

Check out the Iis7WebSite Class. There are task actions: AddApplication and AddVirtualDirectory.

Sep 15, 2011 at 1:55 AM

Any idea how I set parameters such as changing the default Authentication?  When using the action AddApplication?

Oct 31, 2011 at 10:50 PM

Sorry, I it looks like that's not exposed yet. I'll add it to the backlog.

Oct 31, 2011 at 10:52 PM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.