/// <summary> /// Get a Project("{guid}") = "MyProject", "MyProject.unityproj", "{projectguid}" /// entry for each relevant language /// </summary> string GetProjectEntries(IEnumerable <Assembly> islands) { var projectEntries = islands.Select(i => string.Format( m_SolutionProjectEntryTemplate, m_GUIDGenerator.SolutionGuid(m_ProjectName, GetExtensionOfSourceFiles(i.sourceFiles)), i.name, Path.GetFileName(ProjectFile(i)), ProjectGuid(i) )); return(string.Join(Environment.NewLine, projectEntries.ToArray())); }
string SolutionGuid(Assembly assembly) { return(m_GUIDProvider.SolutionGuid(m_ProjectName, GetExtensionOfSourceFiles(assembly.sourceFiles))); }
string SolutionGuid(Assembly assembly) { return(m_GUIDGenerator.SolutionGuid(m_ProjectName, ScriptingLanguageFor(assembly))); }