Ejemplo n.º 1
0
        public int Clone(out IVsEnumDependencies enumDependencies)
        {
            ThreadHelper.ThrowIfNotOnUIThread();

            enumDependencies = new EnumDependencies(this.dependencyList);
            enumDependencies.Skip(this.nextIndex);
            return(VSConstants.S_OK);
        }
Ejemplo n.º 2
0
 // Implement IVsDependencyProvider to remove all dependencies between projects. BuildXL builds require that the full
 // set of built projects is known at the start of the build. This contrasts with VS dependency-first build ordering
 // and the fact that VS does not expose the set of projects requested to build. To work around this, we remove ALL dependencies so
 // VS always calls all projects to build without consideration for dependency order.
 int IVsDependencyProvider.EnumDependencies(out IVsEnumDependencies ppIVsEnumDependencies)
 {
     // Use empty set of dependencies for BuildXL projects so all projects get called when building
     // a specific set (i.e., startup projects for F5 or for running unit tests). Otherwise, VS will
     // build in dependency first order and there is no way to get the full set of projects that will be
     // built.
     ppIVsEnumDependencies = m_emptyDependencies;
     return(VSConstants.S_OK);
 }
Ejemplo n.º 3
0
 public int Clone(out IVsEnumDependencies enumDependencies)
 {
     enumDependencies = new EnumDependencies(this.dependencyList);
     ErrorHandler.ThrowOnFailure(enumDependencies.Skip(this.nextIndex));
     return VSConstants.S_OK;
 }
Ejemplo n.º 4
0
 public int EnumDependencies(out IVsEnumDependencies enumDependencies)
 {
     enumDependencies = new EnumDependencies(this.buildDependencyList);
     return VSConstants.S_OK;
 }
Ejemplo n.º 5
0
 public int Clone(out IVsEnumDependencies enumDependencies)
 {
     enumDependencies = new EnumDependencies(this.dependencyList);
     enumDependencies.Skip(this.nextIndex);
     return(VSConstants.S_OK);
 }
 public int Clone(out IVsEnumDependencies enumDependencies)
 {
     enumDependencies = new EnumDependencies(this.dependencyList);
     enumDependencies.Skip(this.nextIndex);
     return VSConstants.S_OK;
 }
Ejemplo n.º 7
0
 public int Clone(out IVsEnumDependencies enumDependencies)
 {
     enumDependencies = new EnumDependencies(this.dependencyList);
     ErrorHandler.ThrowOnFailure(enumDependencies.Skip(this.nextIndex));
     return(VSConstants.S_OK);
 }
Ejemplo n.º 8
0
 public int Clone(out IVsEnumDependencies ppIVsEnumDependencies){
   ppIVsEnumDependencies = new DependencyEnumerator(referencedProjects, currentIndex);
   return 0;
 }
Ejemplo n.º 9
0
 public int EnumDependencies(out IVsEnumDependencies ppIVsEnumDependencies){
   ppIVsEnumDependencies = new DependencyEnumerator(GetReferencedProjects((XmlElement) this.projFile.SelectSingleNode("VisualStudioProject")));
   return 0;
 }
Ejemplo n.º 10
0
 public int Clone(out IVsEnumDependencies ppIVsEnumDependencies)
 {
     ppIVsEnumDependencies = this;
     return(VSConstants.S_OK);
 }