I have two solutions
- SolutionA.sln
- WebApplication1.csproj
- SolutionB.sln
- WebApplication1.csproj
- WebApplication2.csproj
I also have two TFS 2010 build configurations
- BuildConfigA
- should build SolutionA and deploy WebApplication1
- BuildConfigB
- should build SolutionB and deploy WebApplication2 (but not WebApplication1)
To prevent BuildConfigB from trying to deploy WebApplication1, I put a <DeployOnBuild>false</DeployOnBuild>
in WebApplication1.csproj. But that also prevents BuildConfigA from deploying it. How could I accomodate this scenario?