[xbuild] Add hooks for extending .sln builds.
authorAnkit Jain <radical@corewars.org>
Thu, 3 Mar 2011 17:41:57 +0000 (23:11 +0530)
committerAnkit Jain <radical@corewars.org>
Thu, 3 Mar 2011 19:20:31 +0000 (00:50 +0530)
commit9aba3ef7eb4949d46ee4f5f720a834e0e2e70e59
treec45941d7d6818918f006902095619d2cb5cb9176
parent2237d8e2faa2fe9a1c082c38d66871cd5b64ccdc
[xbuild] Add hooks for extending .sln builds.

Add hooks in the .sln.proj generated from .sln files.

1. It imports
   "$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\SolutionFile\ImportBefore\*"
   and
   "$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\SolutionFile\ImportAfter\*"
   This is done only in case of 4.0 projects, as imports with wildcard
   is a 4.0 feature.

2. And it imports before.Foo.sln.targets and after.Foo.sln.targets from
   the same dir as the .sln file.
mcs/tools/xbuild/SolutionParser.cs