Index: obsolete/Microsoft.VisualStudio.Project/NestedProjectBuildDependency.cs |
diff --git a/obsolete/Microsoft.VisualStudio.Project/NestedProjectBuildDependency.cs b/obsolete/Microsoft.VisualStudio.Project/NestedProjectBuildDependency.cs |
deleted file mode 100644 |
index 9d8ca86c0082859fff5f5b2b0f0c9c90ad485df4..0000000000000000000000000000000000000000 |
--- a/obsolete/Microsoft.VisualStudio.Project/NestedProjectBuildDependency.cs |
+++ /dev/null |
@@ -1,75 +0,0 @@ |
-/// Copyright (c) Microsoft Corporation. All rights reserved. |
- |
-using System; |
-using Microsoft.VisualStudio; |
-using Microsoft.VisualStudio.Shell.Interop; |
- |
-namespace Microsoft.VisualStudio.Project |
-{ |
- /// <summary> |
- /// Used for adding a build dependency to nested project (not a real project reference) |
- /// </summary> |
- public class NestedProjectBuildDependency : IVsBuildDependency |
- { |
- IVsHierarchy dependentHierarchy = null; |
- |
- #region ctors |
- [CLSCompliant(false)] |
- public NestedProjectBuildDependency(IVsHierarchy dependentHierarchy) |
- { |
- this.dependentHierarchy = dependentHierarchy; |
- } |
- #endregion |
- |
- #region IVsBuildDependency methods |
- public int get_CanonicalName(out string canonicalName) |
- { |
- canonicalName = null; |
- return VSConstants.S_OK; |
- } |
- |
- public int get_Type(out System.Guid guidType) |
- { |
- // All our dependencies are build projects |
- guidType = VSConstants.GUID_VS_DEPTYPE_BUILD_PROJECT; |
- |
- return VSConstants.S_OK; |
- } |
- |
- public int get_Description(out string description) |
- { |
- description = null; |
- return VSConstants.S_OK; |
- } |
- |
- [CLSCompliant(false)] |
- public int get_HelpContext(out uint helpContext) |
- { |
- helpContext = 0; |
- return VSConstants.E_NOTIMPL; |
- } |
- |
- public int get_HelpFile(out string helpFile) |
- { |
- helpFile = null; |
- return VSConstants.E_NOTIMPL; |
- } |
- |
- public int get_MustUpdateBefore(out int mustUpdateBefore) |
- { |
- // Must always update dependencies |
- mustUpdateBefore = 1; |
- |
- return VSConstants.S_OK; |
- } |
- |
- public int get_ReferredProject(out object unknownProject) |
- { |
- unknownProject = this.dependentHierarchy; |
- |
- return (unknownProject == null) ? VSConstants.E_FAIL : VSConstants.S_OK; |
- } |
- #endregion |
- |
- } |
-} |