private bool ShouldFileBePartOfSolution(string file) { // Exclude files coming from packages except if they are internalized. if (m_AssemblyNameProvider.IsInternalizedPackagePath(file)) { return(false); } return(HasValidExtension(file)); }
bool ShouldFileBePartOfSolution(string file) { string extension = Path.GetExtension(file); // Exclude files coming from packages except if they are internalized. if (!m_ShouldGenerateAll && m_assemblyNameProvider.IsInternalizedPackagePath(file)) { return(false); } // Dll's are not scripts but still need to be included.. if (extension == ".dll") { return(true); } if (file.ToLower().EndsWith(".asmdef")) { return(true); } return(IsSupportedExtension(extension)); }