Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(443)

Side by Side Diff: obsolete/Microsoft.VisualStudio.Project/NestedProjectBuildDependency.cs

Issue 10928195: First round of dead file removal (Closed) Base URL: https://github.com/samclegg/nativeclient-sdk.git@master
Patch Set: Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 /// Copyright (c) Microsoft Corporation. All rights reserved.
2
3 using System;
4 using Microsoft.VisualStudio;
5 using Microsoft.VisualStudio.Shell.Interop;
6
7 namespace Microsoft.VisualStudio.Project
8 {
9 /// <summary>
10 /// Used for adding a build dependency to nested project (not a real pro ject reference)
11 /// </summary>
12 public class NestedProjectBuildDependency : IVsBuildDependency
13 {
14 IVsHierarchy dependentHierarchy = null;
15
16 #region ctors
17 [CLSCompliant(false)]
18 public NestedProjectBuildDependency(IVsHierarchy dependentHierar chy)
19 {
20 this.dependentHierarchy = dependentHierarchy;
21 }
22 #endregion
23
24 #region IVsBuildDependency methods
25 public int get_CanonicalName(out string canonicalName)
26 {
27 canonicalName = null;
28 return VSConstants.S_OK;
29 }
30
31 public int get_Type(out System.Guid guidType)
32 {
33 // All our dependencies are build projects
34 guidType = VSConstants.GUID_VS_DEPTYPE_BUILD_PROJECT;
35
36 return VSConstants.S_OK;
37 }
38
39 public int get_Description(out string description)
40 {
41 description = null;
42 return VSConstants.S_OK;
43 }
44
45 [CLSCompliant(false)]
46 public int get_HelpContext(out uint helpContext)
47 {
48 helpContext = 0;
49 return VSConstants.E_NOTIMPL;
50 }
51
52 public int get_HelpFile(out string helpFile)
53 {
54 helpFile = null;
55 return VSConstants.E_NOTIMPL;
56 }
57
58 public int get_MustUpdateBefore(out int mustUpdateBefore)
59 {
60 // Must always update dependencies
61 mustUpdateBefore = 1;
62
63 return VSConstants.S_OK;
64 }
65
66 public int get_ReferredProject(out object unknownProject)
67 {
68 unknownProject = this.dependentHierarchy;
69
70 return (unknownProject == null) ? VSConstants.E_FAIL : V SConstants.S_OK;
71 }
72 #endregion
73
74 }
75 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698