I have a solution with 3 wdproj files to allow different deployments of our site. I'm using NAnt with an MSBuild task to compile the solution file which in turn is building the deployment projects. The problem I have is that the OutputPath property used by each of the deployment projects is inherited from the solution file which means I am getting the following error:
ASPNETCOMPILER : error ASPRUNTIME: The target directory is not empty, and does
not appear to contain a previously compiled application. Please delete it
manually, or choose a different target
Can anybody suggest what I can do to rectify this? From what I've read it should be the solution file that gets compiled by MSBuild rather have each deployment project built separately.
By the way the solution contains a number of class libraries and a web application.
Thanks in advance.
View Complete Post