Hi,
When we do a nightly build, we get all the files starting at a root directory and use "devenv.exe" to simply compile the solution files. It works great except for Web projects (web services, asp.net projects). These projects seem to put their files in c:\inetpub\wwwroot\.... directories but the working folder for these projects in vault is somewhere else.
Normally VisualStudio copies these files from the working directory to c:\inetpub\wwwroot\.... but during commandline build it does not. Is this a problem because vault is not fully integrated with DevStudio or is it simply a Visual Studio problem? Is there a solution to this?
Thanks
Pawan
Nightly builds and VisualStudio WebServices
Moderator: SourceGear
Our workaround here is to download the Service files to under our build directory, and then use the IIS AdminScripts to point the Virtual Directory to the build dir.
Then you should just be able to use devenv.exe to compile away.
Code: Select all
c:\InetPub\AdminScripts\stopweb.vbs -a 1
c:\InetPub\AdminScripts\adsutil.vbs DELETE w3svc/1/root/WebService
c:\InetPub\AdminScripts\mkwebdir -w "Default Web Site" -v "WebService","DISKPATHTO\WebService"
c:\InetPub\AdminScripts\chaccess -a w3svc/1/ROOT/WebService +read -write +script +execute
c:\InetPub\AdminScripts\adsutil.vbs APPCREATEPOOLPROC w3svc/1/root/WebService
c:\InetPub\AdminScripts\startweb.vbs -a 1