I have a series of projects that need to be compiled and published, deployed to separate directories with separate MSBuild arguments. Be that as it may, I have separate builds for each. For example, project 1:
MSBuild Arguments: /target:myTarget /property:PublishDir=\\1.1.1.1\PublishDir1
and project 2:
MSBuild Arguments: /target:myTarget /property:PublishDir=\\1.1.1.2\PublishDir2
However, I would like to combine them into one assembly. The problem is that although TFS will allow me to specify multiple projects in the assembly, MSBuild arguments apply to all projects. Is there a quick way to force an explicit set of build arguments for each project, or do I need to create a new build template for this?
source
share