Last post Sep 25, 2008 01:20 PM by hpdotnet
Sep 19, 2008 03:27 PM|hpdotnet|LINK
Here is my scenario:
1. Developers work off their individual workstations using VS 2008 and Source Control.
2. When ready for deployment, we need to do a build on a separate box that compiles all the code from the Source Control folder and copies output to a specific deployment folder.
3. We cannot have VS 2008 installed on that build box.
Does WDP support command-line actions? Or should I just write my own MSBUILD scripts? I need to use aspnet_merge utility too.
And advice is greatly appreciated!
Sep 22, 2008 11:53 AM|hpdotnet|LINK
Can anyone give me any pointers to do a build using WDP from command-line? Any help is greatly appreciated.
To reiterate, I need to build my website on a box that can have just the .net framework and not Visual Studio. Can I run the WDP project from command-line?
Any link documentation or tutorial will be great.
Sep 24, 2008 06:37 AM|Thomas Sun – MSFT|LINK
Web Deployment Project use aspnet_compiler.exe to compile website and use aspnet_merge.exe to combines assemblies, and all the configuration is saved in Project file. We can use MSbuild to perform build operations basing on this Project file.
In your case, we can configure Web Deployment project in Visual Studio and then copy this Project file to that box and execute MSbuild. To do so, we need to make sure the Path such as "SourceWebPhysicalPath" in Project file is correct in new machine.
I look forward to hearing from you.
Sep 25, 2008 01:20 PM|hpdotnet|LINK
Thanks Thomas for your reply. Yes, MSBuild will work for me. And as you mentioned, my wdproj file will have different properties for different configurations. e.g. SourceWebPhysicalPath will point to my local path for Debug but will point to the source
control folder for Release Configuration.