[xbuild] Microsoft.Common.targets - import Before/After targets files.
authorAnkit Jain <radical@corewars.org>
Fri, 11 Mar 2011 13:12:57 +0000 (18:42 +0530)
committerAnkit Jain <radical@corewars.org>
Fri, 11 Mar 2011 13:16:20 +0000 (18:46 +0530)
commit1288c84cd73c2aac7bc61f4eeb55c6e08c04c29d
tree4d84eb90dd535315a8a914ed1116b90670099128
parent17f10155f8f8ef117d228d57c199470cf9290575
[xbuild] Microsoft.Common.targets - import Before/After targets files.

With this, Microsoft.Common.targets will import
$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\$(MSBuildThisFile)\ImportBefore\*
at the beginning of the file and
$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\$(MSBuildThisFile)\ImportAfter\*
at the end of the file.

So, this would import all files from (eg.):
$prefix/lib/mono/xbuild/4.0/Microsoft.Common.targets/ImportBefore/

This can be disabled by setting the bool properties -
$(ImportByWildcardBeforeMicrosoftCommonTargets) and
$(ImportByWildcardAfterMicrosoftCommonTargets).
mcs/tools/xbuild/xbuild/4.0/Microsoft.Common.targets