Пример #1
0
 public static bool IsEvaluationMessage(string message)
 {
     return(SearchPathsForMSBuildExtensionsPath.IsMatch(message) ||
            OverridingTarget.IsMatch(message) ||
            TryingExtensionsPath.IsMatch(message) ||
            ProjectImported.IsMatch(message) ||
            DuplicateImport.IsMatch(message) ||
            ProjectImportSkippedEmptyFile.IsMatch(message) ||
            ProjectImportSkippedFalseCondition.IsMatch(message) ||
            ProjectImportSkippedNoMatches.IsMatch(message) ||
            ProjectImportSkippedMissingFile.IsMatch(message) ||
            ProjectImportSkippedInvalidFile.IsMatch(message));
     //Project "{0}" was not imported by "{1}" at({ 2},{ 3}), due to the file being empty.
     //ProjectImportSkippedFalseCondition $:$ Project "{0}" was not imported by "{1}" at ({2},{3}), due to false condition; ({4}) was evaluated as ({5}).
     //ProjectImportSkippedNoMatches $:$ Project "{0}" was not imported by "{1}" at ({2},{3}), due to no matching files.
     //ProjectImportSkippedMissingFile $:$ Project "{0}" was not imported by "{1}" at ({2},{3}), due to the file not existing.
     //ProjectImportSkippedInvalidFile $:$ Project "{0}" was not imported by "{1}" at ({2},{3}), due to the file being invalid.
 }