示例#1
0
        public static bool IsSupportedFile(this ProjectItem item, out string FilePath)
        {
            FilePath = item.FilePath();

            if (item.Kind == EnvDTE.Constants.vsProjectItemKindPhysicalFolder)
            {
                return(false);
            }

            string ext = Path.GetExtension(item.FilePath());

            return(ext.Equals(".less", StringComparison.OrdinalIgnoreCase));
        }