MSBuild TargetOutputs Question.

MSBuild TargetOutputs Question.

am 21.04.2008 21:23:10 von Satish

I'm rather new to MSBuild. I'm trying to build a project and copy the
build result to a deploy folder. Here is the target I created for this.


Targets="Rebuild" >


DestinationFolder="$(OutputFolder)\ModelEvaluator" />


Now my problem is that this one copies only the exe file. It does not
copy the dlls of other projects that the exe depends on and also the
config file. My question is aren't those a part of the TargetOutputs as
well or do I have to include those separately?

I added an Itemgroup section into the target as follows





This seems to work but I'm not sure if this is the right approach.

Thanks.