28 references to AssemblyResources
Microsoft.Build.CommandLine.UnitTests (4)
CommandLineSwitches_Tests.cs (4)
1374
VerifySwitchError(commandLineSwitches, "/warnasmessage",
AssemblyResources
.GetString("MissingWarnAsMessageParameterError"));
1391
VerifySwitchError(commandLineSwitches, "%ENVIRONMENTVARIABLE%", String.Format(
AssemblyResources
.GetString("EnvironmentVariableAsSwitch"), fullCommandLine));
1396
VerifySwitchError(commandLineSwitches, "%ENVIRONMENTVARIABLE%", String.Format(
AssemblyResources
.GetString("EnvironmentVariableAsSwitch"), fullCommandLine));
1540
ResourceManager resourceManager = new ResourceManager("MSBuild.Strings", typeof(
AssemblyResources
).Assembly);
MSBuild (24)
AssemblyResources.cs (2)
39
private static readonly ResourceManager s_resources = new ResourceManager("MSBuild.Strings", typeof(
AssemblyResources
).GetTypeInfo().Assembly);
41
private static readonly ResourceManager s_sharedResources = new ResourceManager("MSBuild.Strings.shared", typeof(
AssemblyResources
).GetTypeInfo().Assembly);
FileUtilities.cs (1)
490
string message = ResourceUtilities.FormatString(
AssemblyResources
.GetString("Shared.PathTooLong"), path, NativeMethodsShared.MaxPath);
InitializationException.cs (2)
143
string errorMessage =
AssemblyResources
.GetString(messageResourceName);
167
string errorMessage =
AssemblyResources
.GetString(messageResourceName);
OutOfProcTaskAppDomainWrapperBase.cs (1)
396
ResourceUtilities.FormatString(
AssemblyResources
.GetString(message), messageArgs),
OutOfProcTaskHostNode.cs (3)
1211
ResourceUtilities.FormatString(
AssemblyResources
.GetString(messageResource), messageArgs),
1235
ResourceUtilities.FormatString(
AssemblyResources
.GetString(messageResource), messageArgs),
1258
AssemblyResources
.GetString(messageResource),
ProjectSchemaValidationHandler.cs (2)
53
Console.WriteLine(
AssemblyResources
.GetString("SchemaFileLocation"), schemaFile);
232
AssemblyResources
.GetString("SubCategoryForSchemaValidationErrors"),
ResourceUtilities.cs (2)
147
=>
AssemblyResources
.GetString(resourceName);
460
string unformattedMessage =
AssemblyResources
.GetString(resourceName);
XMake.cs (11)
1046
Console.WriteLine("{0}\r\n{1}",
AssemblyResources
.GetString("FatalError"), e.ToString());
1672
Console.WriteLine(
AssemblyResources
.GetString("FatalError"));
4589
Console.WriteLine(
AssemblyResources
.GetString("HelpMessage_1_Syntax"));
4590
Console.WriteLine(
AssemblyResources
.GetString("HelpMessage_2_Description"));
4591
Console.WriteLine(
AssemblyResources
.GetString("HelpMessage_3_SwitchesHeader"));
4594
Console.WriteLine(
AssemblyResources
.GetString(parameterizedSwitchRsouceId));
4598
Console.WriteLine(
AssemblyResources
.GetString(parameterlessSwitchRsouceId));
4600
Console.WriteLine(
AssemblyResources
.GetString("HelpMessage_7_ResponseFile"));
4601
Console.WriteLine(
AssemblyResources
.GetString("HelpMessage_16_Examples"));
4602
Console.WriteLine(
AssemblyResources
.GetString("HelpMessage_37_DocsLink"));
4610
Console.WriteLine(
AssemblyResources
.GetString("HelpPrompt"));