diff options
author | Lluis Sanchez <lluis@xamarin.com> | 2014-04-04 15:48:06 +0400 |
---|---|---|
committer | Lluis Sanchez <lluis@xamarin.com> | 2014-04-04 15:48:57 +0400 |
commit | d4312cc8054188bd762f8f8babc3456c0f8eb9b6 (patch) | |
tree | c95bc5af8859d5c785ca457dfb6592b08de44fec /main/src/core/MonoDevelop.Core | |
parent | fd50eb8073e7954447b1649afc3ca2b1722f9acc (diff) |
[Core] Fix project loading issue
Define VisualStudioReferenceAssemblyVersion in MSBuildProject.
The Roslyn project uses that.
Diffstat (limited to 'main/src/core/MonoDevelop.Core')
-rw-r--r-- | main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Formats.MSBuild/MSBuildProject.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Formats.MSBuild/MSBuildProject.cs b/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Formats.MSBuild/MSBuildProject.cs index d8f8707523..fe28478a5f 100644 --- a/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Formats.MSBuild/MSBuildProject.cs +++ b/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Formats.MSBuild/MSBuildProject.cs @@ -924,6 +924,7 @@ namespace MonoDevelop.Projects.Formats.MSBuild SetPropertyValue ("MSBuildThisFileDirectory", Path.GetDirectoryName (project.FileName) + Path.DirectorySeparatorChar); SetPropertyValue ("MSBuildThisFileExtension", Path.GetExtension (project.FileName)); SetPropertyValue ("MSBuildThisFileFullPath", Path.GetFullPath (project.FileName)); + SetPropertyValue ("VisualStudioReferenceAssemblyVersion", project.ToolsVersion + ".0.0"); } public string GetPropertyValue (string name) |