private IReadOnlyCollection <BuildableProject> SearchProjects(SolutionModeConfiguration configuration) { var directory = _pathProxy.GetDirectoryName(configuration.SolutionFilePath); var csprojFiles = _directoryProxy.GetFiles(directory, "*.csproj"); var projects = (IReadOnlyCollection <BuildableProject>)csprojFiles.Select(f => new BuildableProject(f)).ToList(); return(projects); }
public string CreateHintPath(string relativeProjectFileIncludePath, ProjectConfigurationFile projectConfig) { var relativeDirectory = _pathProxy.GetDirectoryName(relativeProjectFileIncludePath); var debugBuild = projectConfig.BuildConfigurations.First(f => f.ConfigurationName == ProjectBuildConfiguration.ConfigurationNameDebug); var result = Path.Combine(relativeDirectory, debugBuild.OutputPath, projectConfig.PropertiesConfiguration.AssemblyFileName); return(result); }