I am trying to create a new website on a remote server via msbuild (I like to call it ‘msdeploy’). I’ve downloaded and used the SDC tasks, the MSBuildExtension tasks and the MSBuildCommunity tasks but I simply can’t get it right.
I figure that WebDirectorySetting (from MSBuild.Community.Tasks.IIS) is my best bet but I can’t find the right SettingName to pass.
I’d like to use some sort of MSBuild task to accomplish this but maybe it just doesn’t exist. Custom VBS or WMI are my last resort…
Thanks
thanks for your replies. I toyed around with doing both of these suggestions but neither is ‘exactly’ what I was looking for – even if it gets the job done. I can’t see us ever going back to 1.1 either so we did end up making it the default but i’m still holding out hope that there’s a magic setting on some task that can do this.
thanks again