private static void AddBindingRedirects(ISolutionManager solutionManager, Project project, AppDomain domain, HashSet<string> projects, IDictionary<string, HashSet<string>> projectAssembliesCache) { if (projects.Contains(project.UniqueName)) { return; } AddBindingRedirects(project, domain, projectAssembliesCache); // Add binding redirects to all projects that are referencing this one foreach (Project dependentProject in solutionManager.GetDependentProjects(project)) { AddBindingRedirects(solutionManager, dependentProject, domain, projects, projectAssembliesCache); } projects.Add(project.UniqueName); }
private static void AddBindingRedirects(ISolutionManager solutionManager, Project project, AppDomain domain, HashSet <string> projects, IDictionary <string, HashSet <string> > projectAssembliesCache) { if (projects.Contains(project.UniqueName)) { return; } AddBindingRedirects(project, domain, projectAssembliesCache); // Add binding redirects to all projects that are referencing this one foreach (Project dependentProject in solutionManager.GetDependentProjects(project)) { AddBindingRedirects(solutionManager, dependentProject, domain, projects, projectAssembliesCache); } projects.Add(project.UniqueName); }
private static void AddBindingRedirects(ISolutionManager solutionManager, Project project, IFileSystemProvider fileSystemProvider, AppDomain domain, HashSet <string> projects, IDictionary <string, HashSet <string> > projectAssembliesCache) { string projectUniqueName = project.GetUniqueName(); if (projects.Contains(projectUniqueName)) { return; } if (project.SupportsBindingRedirects()) { AddBindingRedirects(project, fileSystemProvider, domain, projectAssembliesCache); } // Add binding redirects to all projects that are referencing this one foreach (Project dependentProject in solutionManager.GetDependentProjects(project)) { AddBindingRedirects(solutionManager, dependentProject, fileSystemProvider, domain, projects, projectAssembliesCache); } projects.Add(projectUniqueName); }
private static void AddBindingRedirects(ISolutionManager solutionManager, Project project, IFileSystemProvider fileSystemProvider, AppDomain domain, HashSet<string> projects, IDictionary<string, HashSet<string>> projectAssembliesCache) { string projectUniqueName = project.GetUniqueName(); if (projects.Contains(projectUniqueName)) { return; } if (project.SupportsBindingRedirects()) { AddBindingRedirects(project, fileSystemProvider, domain, projectAssembliesCache); } // Add binding redirects to all projects that are referencing this one foreach (Project dependentProject in solutionManager.GetDependentProjects(project)) { AddBindingRedirects(solutionManager, dependentProject, fileSystemProvider, domain, projects, projectAssembliesCache); } projects.Add(projectUniqueName); }