Our process for creating a new development (get latest, setup db, setup IIS directories with permissions) environment has got a little complicated and I want to automate it.
The only bit I am stuck on is creating an IIS Virtual Directory for the WCF service layer. We develop with windows XP (IIS 5.1) but will be moving to Windows 7 (IIS 7) soon.
Can anyone help please?
You can use SDC tasks for XP. Here is a sample.
Then to exeucte msbuild.exe CreateVDir.proj /t:Demo
Where CreateVDir.proj is the name of the file.
For IIS 7 you can use MSBuild Extension Pack.
Also if you’re up to it, another option is MSDeploy which is the way I would do it.