예제 #1
0
        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);
        }
예제 #2
0
        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);
        }
예제 #3
0
        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);
        }
예제 #4
0
        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);
        }