I am trying to switch our build with CruiseControl.NET, which runs its own .msbuild file in Team Build 2010. The compiled application is a VS2008 solution with many projects, two of which are web projects.
Using DefaultTemplate.xaml, it seems that two web projects are deployed to Binaries\_PublishedWebsites\(ProjectName) . This default location is beautiful. However, the contents of the output directories appear to be updatable, as if aspnet_compiler.exe was called with -u , or as if the MSBuild <AspNetCompiler> task <AspNetCompiler> used with Updateable="true" . So, two questions:
I discovered in earlier troubleshooting that the only way to get IIS 6 to service the web service compiled with aspnet_compiler.exe in non-updatable mode is to specify a virtual path in the command, so I ask about # 2.
Edit:
Having seen one answer so far, I realized that I should have more clearly talked about the problem. I understand that if I can do something in MSBuild, I can just call MSBuild from the build template. However, I am interested in learning how to change what happens to copy the output to the _PublishedWebsites directory. โFinding a task that copies the website and modifying itโ will work fine, except that I donโt see what it is actually copying the output to _PublishedWebsites . I really want to change the step in the template that will do this.
The build log refers to a compilation object called _CopyWebApplication , which appears to do the job of copying the files needed for the web application. However, Iโm not sure how to change this compilation goal, since I donโt see it anywhere in the build template and not in any file in the solution. Also, everything that runs _CopyWebApplication seems to work only for web application projects, and not for many other projects in the solution. This is good, except that I do not know where the logic exists that determines whether _CopyWebApplication should be used.
Maybe there is a default MSBuild file that I am missing? What build option can I use? How to change the above assembly step?
source share