40 references to FileBasedProgramsResources
Microsoft.DotNet.ProjectTools (40)
Generated\361d1da7f942c932\Microsoft.DotNet.FileBasedPrograms.FileBasedProgramsResources.Designer.cs (1)
106
typeof(
@FileBasedProgramsResources
).Assembly);
src\sdk\src\Cli\Microsoft.DotNet.FileBasedPrograms\FileLevelDirectiveHelpers.cs (34)
77
errorReporter(sourceFile.Text, sourceFile.Path, trivia.Span,
FileBasedProgramsResources
.CannotConvertDirective);
385
context.ReportError(string.Format(
FileBasedProgramsResources
.UnrecognizedDirective, context.DirectiveKind));
450
context.ReportError(
FileBasedProgramsResources
.InvalidQuoteInDirective);
466
context.ReportError(
FileBasedProgramsResources
.UnterminatedQuoteInDirective);
470
context.ReportError(string.Format(
FileBasedProgramsResources
.InvalidStringLiteralInDirective, errors[0].GetMessage()));
481
context.ReportError(string.Format(
FileBasedProgramsResources
.ExpectedSimpleStringLiteralInDirective, token.Text));
534
context.ReportError(
FileBasedProgramsResources
.InvalidQuoteInDirective);
686
context.ReportError(string.Format(
FileBasedProgramsResources
.MissingDirectiveName, context.DirectiveKind));
699
context.ReportError(string.Format(
FileBasedProgramsResources
.MissingDirectiveName, context.DirectiveKind));
706
context.ReportError(string.Format(
FileBasedProgramsResources
.InvalidDirectiveName, context.DirectiveKind, separator));
742
context.ReportError(string.Format(
FileBasedProgramsResources
.InvalidDirectiveMetadata, text));
751
context.ReportError(string.Format(
FileBasedProgramsResources
.DirectiveMetadataInvalidName, name, nameError));
757
context.ReportError(string.Format(
FileBasedProgramsResources
.ConflictingDirectiveMetadata, name));
763
context.ReportError(string.Format(
FileBasedProgramsResources
.DuplicateDirectiveMetadata, name));
791
context.ReportError(string.Format(
FileBasedProgramsResources
.MissingDirectiveName, context.DirectiveKind));
797
context.ReportError(string.Format(
FileBasedProgramsResources
.UnexpectedDirectiveText, context.DirectiveKind));
856
context.ReportError(string.Format(
FileBasedProgramsResources
.UnexpectedDirectiveText, context.DirectiveKind));
891
context.ReportError(string.Format(
FileBasedProgramsResources
.UnexpectedDirectiveText, context.DirectiveKind));
902
context.ReportError(
FileBasedProgramsResources
.PropertyDirectiveMissingParts);
908
context.ReportError(string.Format(
FileBasedProgramsResources
.PropertyDirectiveInvalidName, nameError));
915
context.ReportError(
FileBasedProgramsResources
.StaticGraphRestoreNotSupported);
1025
context.ReportError(string.Format(
FileBasedProgramsResources
.MissingDirectiveName, context.DirectiveKind));
1091
ReportError(string.Format(
FileBasedProgramsResources
.InvalidProjectDirective, error));
1096
ReportError(string.Format(
FileBasedProgramsResources
.InvalidProjectDirective, string.Format(
FileBasedProgramsResources
.CouldNotFindProjectOrDirectory, resolvedProjectPath)));
1157
context.ReportError(string.Format(
FileBasedProgramsResources
.MissingDirectiveName, context.DirectiveKind));
1212
string.Format(
FileBasedProgramsResources
.InvalidRefDirective,
1213
string.Format(
FileBasedProgramsResources
.CouldNotFindRefFile, resolvedFilePath)));
1288
context.ReportError(string.Format(
FileBasedProgramsResources
.ConflictingDirectiveMetadata, name));
1322
string.Format(
FileBasedProgramsResources
.IncludeOrExcludeDirectiveUnknownFileType,
1412
ReportError(string.Format(
FileBasedProgramsResources
.InvalidIncludeExcludeMappingEntry, pair));
1421
ReportError(string.Format(
FileBasedProgramsResources
.InvalidIncludeExcludeMappingExtension, extension, pair));
1428
var message = string.Format(
FileBasedProgramsResources
.InvalidIncludeExcludeMappingItemType, itemType, pair);
1484
string.Format(
FileBasedProgramsResources
.DuplicateDirective, typeAndName));
src\sdk\src\Cli\Microsoft.DotNet.FileBasedPrograms\ProjectLocator.cs (3)
33
error = string.Format(
FileBasedProgramsResources
.CouldNotFindProjectOrDirectory, projectDirectory);
40
error = string.Format(
FileBasedProgramsResources
.CouldNotFindAnyProjectInDirectory, projectDirectory);
46
error = string.Format(
FileBasedProgramsResources
.MoreThanOneProjectInDirectory, projectDirectory);
src\sdk\src\Cli\Microsoft.DotNet.FileBasedPrograms\VirtualProjectBuilder.cs (2)
167
throw new InvalidOperationException(
FileBasedProgramsResources
.EmptyTempPath);
432
reportError(EntryPointSourceFile.Text, EntryPointSourceFile.Path, default, string.Format(
FileBasedProgramsResources
.IncludedFileNotFound, filePath));