Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/mcs
diff options
context:
space:
mode:
authorAnkit Jain <radical@corewars.org>2011-02-27 22:04:44 +0300
committerAnkit Jain <radical@corewars.org>2011-02-28 14:31:24 +0300
commit8c579dfce2c81af6944f5b02496b81fdcb0636ea (patch)
treeca9803768b7722bae5c1e114b45b6d0088c8e69b /mcs
parent95af93f26635b8f28f36d68d9c23289d3f906b38 (diff)
[xbuild] Add $(MSBuildToolsRoot) reserved property.
Diffstat (limited to 'mcs')
-rw-r--r--mcs/class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine/Project.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/mcs/class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine/Project.cs b/mcs/class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine/Project.cs
index 6be6c2170b1..4befeb90d8c 100644
--- a/mcs/class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine/Project.cs
+++ b/mcs/class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine/Project.cs
@@ -967,6 +967,7 @@ namespace Microsoft.Build.BuildEngine {
throw new Exception (String.Format ("Invalid tools version '{0}', no tools path set for this.", effective_tools_version));
evaluatedProperties.AddProperty (new BuildProperty ("MSBuildBinPath", toolsPath, PropertyType.Reserved));
evaluatedProperties.AddProperty (new BuildProperty ("MSBuildToolsPath", toolsPath, PropertyType.Reserved));
+ evaluatedProperties.AddProperty (new BuildProperty ("MSBuildToolsRoot", Path.GetDirectoryName (toolsPath), PropertyType.Reserved));
evaluatedProperties.AddProperty (new BuildProperty ("MSBuildToolsVersion", effective_tools_version, PropertyType.Reserved));
evaluatedProperties.AddProperty (new BuildProperty ("MSBuildExtensionsPath", ExtensionsPath, PropertyType.Reserved));
evaluatedProperties.AddProperty (new BuildProperty ("MSBuildExtensionsPath32", ExtensionsPath, PropertyType.Reserved));