Manipulating call to AspNetCompiler in Team Build
I cant seem to track down the .targets file where the call to AspNetCompiler task is made for the web applications in my solution during a Team Build. Is it possible to manipulate the inputs to this task at all?
The reason I ask is that my devs have implemented a solution to be able to run unit tests against web services, found here:
http://msdn2.microsoft.com/en-us/library/ms243136.aspxhttp://msdn2.microsoft.com/en-us/library/ms243136.aspx#TestingWebServicesWithCassiniwhich means they end up adding something like the following to their unit tests:
[
AspNetDevelopmentServer("Configuration",@"%PathToWebRoot%\Enterprise Library\Configuration\Tests\Configuration.Host","/Configuration.Host")]where they define %PathToWebRoot% as an environment variable to the root of their source control structure on disk, so that they can provide a relative path after it to where the web service resides on disk. Therefore this syntax can be used for testing web services situated across
During a Team Build, %PathToWebRoot% is always evaluated as $(BinariesRoot)\_PublishedWebsites, however my web apps are always precompiled directly under that folder i.e. $(BinariesRoot)\_PublishedWebsites\Configuration.Host. For the above unit test to be able to run I need to precompile to $(BinariesRoot)\_PublishedWebsites\Enterprise Library\Configuration\Tests\Configuration.Host, but to do this I would have to change the inputs to AspnetCompiler.
Any ideas?

