[xbuild] Pick the correct base path for target frameworks.
authorAnkit Jain <jankit@suse.de>
Thu, 3 Nov 2011 15:32:09 +0000 (21:02 +0530)
committerAnkit Jain <jankit@suse.de>
Thu, 3 Nov 2011 16:49:11 +0000 (22:19 +0530)
commitbd00987862b8a33df6148a87dd226ef51f360408
tree5b443ecb560010b92d2ae722d1421c3555c83d5f
parent1883b2a41dfd31f003e63df442b1acf664984f0e
[xbuild] Pick the correct base path for target frameworks.

Don't depend on Environment.GacPath to figure out the framework
base path ("..../xbuild-frameworks"). This broke on fedora, where
it mapped to $prefix/lib/mono instead of $prefix/lib64/mono .
Which caused framework assemblies to be picked from "lib" instead
of "lib64".
mcs/class/Microsoft.Build.Tasks/Microsoft.Build.Tasks/GetReferenceAssemblyPaths.cs