diff options
author | Lluis Sanchez <lluis@xamarin.com> | 2014-08-28 11:37:04 +0400 |
---|---|---|
committer | Lluis Sanchez <lluis@xamarin.com> | 2014-08-28 11:40:34 +0400 |
commit | 3235af8472431355c9da3eee53bca893a6867041 (patch) | |
tree | cc8cd05f96a7080f25b3770a359a9fe6eb2225de /main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Formats.MSBuild/MSBuildProjectHandler.cs | |
parent | ce54e6f0ceb38077547b5649e624fa6ae5058e1a (diff) |
[Core] Fix project reference metadata loading bug
Properly read metadata for project references that reference other
projects. This fixes bug #22044.
In the msbuild host, only reload the project that is going to be built,
not all referenced projects.
Diffstat (limited to 'main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Formats.MSBuild/MSBuildProjectHandler.cs')
-rw-r--r-- | main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Formats.MSBuild/MSBuildProjectHandler.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Formats.MSBuild/MSBuildProjectHandler.cs b/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Formats.MSBuild/MSBuildProjectHandler.cs index 8463bda0a2..de0f337225 100644 --- a/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Formats.MSBuild/MSBuildProjectHandler.cs +++ b/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Formats.MSBuild/MSBuildProjectHandler.cs @@ -985,6 +985,7 @@ namespace MonoDevelop.Projects.Formats.MSBuild var privateCopy = buildItem.GetBoolMetadata ("Private"); if (privateCopy != null) pref.LocalCopy = privateCopy.Value; + ReadBuildItemMetadata (ser, buildItem, pref, typeof(ProjectReference)); return pref; } else if (dt == null && !string.IsNullOrEmpty (buildItem.Include)) { |