private IDependencies CreateFullSourceDependencies() { var deps = new List <IDependencies>(); if (project.HasNonEmptySourceSet("cs")) { deps.Add(sourceSetDependencyFactory.CreateSourceSetDependencies(project.GetSourceSet("cs"), fn => fn.EndsWith(".csproj", StringComparison.InvariantCultureIgnoreCase) || fn.EndsWith(".csproj.user", StringComparison.InvariantCultureIgnoreCase))); } if (project.HasNonEmptySourceSet("appconfig")) { deps.Add(sourceSetDependencyFactory.CreateSourceSetDependencies(project.GetSourceSet("appconfig"), null)); } if (project.HasNonEmptySourceSet("manifest")) { deps.Add(sourceSetDependencyFactory.CreateSourceSetDependencies(project.GetSourceSet("manifest"), null)); } if (project.HasNonEmptySourceSet("resources")) { deps.Add(sourceSetDependencyFactory.CreateSourceSetDependencies(project.GetSourceSet("resources"), null)); } return(MultipleDependenciesHelper.CreateMultipleDependencies(new HashSet <IDependencies>(deps))); }
private IDependencies CreateFullSourceDependencies() { var deps = new List <IDependencies>(); if (project.HasNonEmptySourceSet("cpp")) { var filteredSourceSet = project.GetSourceSet("cpp").FilterCppSourceSet( project.RootDirectory.GetChildDirectory("cpp"), suite.SuiteRoot); deps.Add(sourceSetDependencyFactory.CreateSourceSetDependencies(filteredSourceSet, fn => fn.EndsWith(".vcxproj", StringComparison.InvariantCultureIgnoreCase) || fn.EndsWith(".vcxproj.user", StringComparison.InvariantCultureIgnoreCase))); } return(MultipleDependenciesHelper.CreateMultipleDependencies(new HashSet <IDependencies>(deps))); }