diff options
author | Michael Hutchinson <m.j.hutchinson@gmail.com> | 2011-07-28 12:39:16 +0400 |
---|---|---|
committer | Michael Hutchinson <m.j.hutchinson@gmail.com> | 2011-07-28 16:49:54 +0400 |
commit | d4567fecca939f2316614d3fbb4636bd1331aea1 (patch) | |
tree | 6e2ff84c306faa772203caab3e08705a17a65d04 /main | |
parent | 099e609d240ee2cee6abdc30f47d9316504145ce (diff) |
[Project] Make some MSBuild API public
Diffstat (limited to 'main')
2 files changed, 8 insertions, 8 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 b8c7866264..fad38ac80a 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 @@ -34,7 +34,7 @@ using System.Text; namespace MonoDevelop.Projects.Formats.MSBuild { - class MSBuildProject + public class MSBuildProject { public XmlDocument doc; Dictionary<XmlElement,MSBuildObject> elemCache = new Dictionary<XmlElement,MSBuildObject> (); @@ -364,7 +364,7 @@ namespace MonoDevelop.Projects.Formats.MSBuild } } - class MSBuildProperty: MSBuildObject + public class MSBuildProperty: MSBuildObject { public MSBuildProperty (XmlElement elem): base (elem) { @@ -384,7 +384,7 @@ namespace MonoDevelop.Projects.Formats.MSBuild } } - interface MSBuildPropertySet + public interface MSBuildPropertySet { MSBuildProperty GetProperty (string name); IEnumerable<MSBuildProperty> Properties { get; } @@ -481,7 +481,7 @@ namespace MonoDevelop.Projects.Formats.MSBuild } } - class MSBuildPropertyGroup: MSBuildObject, MSBuildPropertySet + public class MSBuildPropertyGroup: MSBuildObject, MSBuildPropertySet { Dictionary<string,MSBuildProperty> properties = new Dictionary<string,MSBuildProperty> (); MSBuildProject parent; @@ -594,7 +594,7 @@ namespace MonoDevelop.Projects.Formats.MSBuild } - class MSBuildItem: MSBuildObject + public class MSBuildItem: MSBuildObject { public MSBuildItem (XmlElement elem): base (elem) { @@ -662,7 +662,7 @@ namespace MonoDevelop.Projects.Formats.MSBuild } } - class MSBuildItemGroup: MSBuildObject + public class MSBuildItemGroup: MSBuildObject { MSBuildProject parent; diff --git a/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Formats.MSBuild/MSBuildProjectService.cs b/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Formats.MSBuild/MSBuildProjectService.cs index 3e49c2235e..6635fce9f5 100644 --- a/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Formats.MSBuild/MSBuildProjectService.cs +++ b/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Formats.MSBuild/MSBuildProjectService.cs @@ -182,7 +182,7 @@ namespace MonoDevelop.Projects.Formats.MSBuild yield return genericItemTypeNode; } - static IEnumerable<DotNetProjectSubtypeNode> GetItemSubtypeNodes () + internal static IEnumerable<DotNetProjectSubtypeNode> GetItemSubtypeNodes () { foreach (ExtensionNode node in AddinManager.GetExtensionNodes (ItemTypesExtensionPath)) { if (node is DotNetProjectSubtypeNode) @@ -279,7 +279,7 @@ namespace MonoDevelop.Projects.Formats.MSBuild return file.ToRelative (basePath); } - internal static string FromMSBuildPath (string basePath, string relPath) + public static string FromMSBuildPath (string basePath, string relPath) { string res; FromMSBuildPath (basePath, relPath, out res); |