54 references to AssemblyResources
Microsoft.Build (18)
BackEnd\Components\Logging\LoggingServiceLogMethods.cs (1)
311
subcategory =
AssemblyResources
.GetString(subcategoryResourceName);
BackEnd\Components\RequestBuilder\IntrinsicTasks\MSBuild.cs (2)
72
AssemblyResources
.PrimaryResources,
AssemblyResources
.SharedResources, "MSBuild."));
BackEnd\Shared\EventsCreatorHelper.cs (2)
43
subcategory =
AssemblyResources
.GetString(subcategoryResourceName);
74
subcategory =
AssemblyResources
.GetString(subcategoryResourceName);
Evaluation\Expander.cs (5)
863
ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "InvalidFunctionPropertyExpression", expressionFunction,
AssemblyResources
.GetString("InvalidFunctionPropertyExpressionDetailMismatchedParenthesis"));
878
ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "InvalidFunctionPropertyExpression", expressionFunction,
AssemblyResources
.GetString("InvalidFunctionPropertyExpressionDetailMismatchedQuote"));
1404
ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "InvalidFunctionPropertyExpression", propertyBody,
AssemblyResources
.GetString("InvalidFunctionPropertyExpressionDetailMismatchedSquareBrackets"));
3429
ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "InvalidFunctionPropertyExpression", expressionFunction,
AssemblyResources
.GetString("InvalidFunctionPropertyExpressionDetailMismatchedSquareBrackets"));
5308
ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "InvalidFunctionPropertyExpression", expressionFunction,
AssemblyResources
.GetString("InvalidFunctionPropertyExpressionDetailMismatchedParenthesis"));
Instance\TaskRegistry.cs (1)
1494
throw new InvalidOperationException(
AssemblyResources
.GetString("TaskFactoryTaskTypeIsNotSet"));
ProjectErrorUtilities.cs (1)
264
string errorSubCategory = errorSubCategoryResourceName is null ? null :
AssemblyResources
.GetString(errorSubCategoryResourceName);
ProjectFileErrorUtilities.cs (1)
150
string errorSubCategory = errorSubCategoryResourceName is null ? null :
AssemblyResources
.GetString(errorSubCategoryResourceName);
Resources\AssemblyResources.cs (2)
118
private static readonly ResourceManager s_resources = new ResourceManager("Microsoft.Build.Strings", typeof(
AssemblyResources
).GetTypeInfo().Assembly);
120
private static readonly ResourceManager s_sharedResources = new ResourceManager("Microsoft.Build.Strings.shared", typeof(
AssemblyResources
).GetTypeInfo().Assembly);
ResourceUtilities.cs (2)
147
=>
AssemblyResources
.GetString(resourceName);
460
string unformattedMessage =
AssemblyResources
.GetString(resourceName);
Utilities\NuGetFrameworkWrapper.cs (1)
249
throw new InternalErrorException(string.Format(
AssemblyResources
.GetString("NuGetAssemblyNotFound"), assemblyDirectory), ex);
Microsoft.Build.Engine.UnitTests (34)
BackEnd\LoggingServicesLogMethod_Tests.cs (4)
135
string subcategory =
AssemblyResources
.GetString(subcategoryKey);
1348
subcategory =
AssemblyResources
.GetString(subcategoryKey);
1369
subcategory =
AssemblyResources
.GetString(subcategoryKey);
1384
string subcategory =
AssemblyResources
.GetString(subCategoryKey);
BackEnd\MSBuild_Tests.cs (30)
210
string error = String.Format(
AssemblyResources
.GetString("MSBuild.ProjectFileNotFound"), "this_project_does_not_exist.csproj");
232
string error = String.Format(
AssemblyResources
.GetString("MSBuild.ProjectFileNotFound"), "this_project_does_not_exist.csproj");
267
string message = String.Format(
AssemblyResources
.GetString("MSBuild.ProjectFileNotFoundMessage"), "this_project_does_not_exist.csproj");
268
string error = String.Format(
AssemblyResources
.GetString("MSBuild.ProjectFileNotFound"), "this_project_does_not_exist.csproj");
305
string message = String.Format(
AssemblyResources
.GetString("MSBuild.ProjectFileNotFoundMessage"), "this_project_does_not_exist.csproj");
306
string error = String.Format(
AssemblyResources
.GetString("MSBuild.ProjectFileNotFound"), "this_project_does_not_exist.csproj");
353
string message = String.Format(
AssemblyResources
.GetString("MSBuild.ProjectFileNotFoundMessage"), "this_project_does_not_exist_warn.csproj");
354
string error = String.Format(
AssemblyResources
.GetString("MSBuild.ProjectFileNotFound"), "this_project_does_not_exist_warn.csproj");
355
string error2 = String.Format(
AssemblyResources
.GetString("MSBuild.ProjectFileNotFound"), "this_project_does_not_exist_error.csproj");
399
string error = String.Format(
AssemblyResources
.GetString("MSBuild.ProjectUpgradeNeededToVcxProj"), "blah.vcproj");
1350
logger.AssertLogContains(
AssemblyResources
.GetString("MSBuild.SkippingRemainingProjects"));
1351
logger.AssertLogDoesntContain(
AssemblyResources
.GetString("MSBuild.NoStopOnFirstFailure"));
1352
logger.AssertLogContains(
AssemblyResources
.GetString("MSBuild.NotBuildingInParallel"));
1360
logger.AssertLogDoesntContain(
AssemblyResources
.GetString("MSBuild.SkippingRemainingProjects"));
1361
logger.AssertLogDoesntContain(
AssemblyResources
.GetString("MSBuild.NoStopOnFirstFailure"));
1362
logger.AssertLogDoesntContain(
AssemblyResources
.GetString("MSBuild.NotBuildingInParallel"));
1368
logger.AssertLogContains(
AssemblyResources
.GetString("MSBuild.SkippingRemainingProjects"));
1369
logger.AssertLogDoesntContain(
AssemblyResources
.GetString("MSBuild.NoStopOnFirstFailure"));
1370
logger.AssertLogDoesntContain(
AssemblyResources
.GetString("MSBuild.NotBuildingInParallel"));
1379
logger.AssertLogDoesntContain(
AssemblyResources
.GetString("MSBuild.SkippingRemainingProjects"));
1380
logger.AssertLogDoesntContain(
AssemblyResources
.GetString("MSBuild.NoStopOnFirstFailure"));
1381
logger.AssertLogDoesntContain(
AssemblyResources
.GetString("MSBuild.NotBuildingInParallel"));
1562
logger.AssertLogDoesntContain(
AssemblyResources
.GetString("MSBuild.SkippingRemainingProjects"));
1582
logger2.AssertLogDoesntContain(
AssemblyResources
.GetString("MSBuild.SkippingRemainingProjects"));
1698
logger.AssertLogDoesntContain(
AssemblyResources
.GetString("MSBuild.SkippingRemainingTargets"));
1703
logger.AssertLogContains(
AssemblyResources
.GetString("MSBuild.SkippingRemainingTargets"));
1711
logger.AssertLogDoesntContain(
AssemblyResources
.GetString("MSBuild.SkippingRemainingTargets"));
1718
logger.AssertLogDoesntContain(
AssemblyResources
.GetString("MSBuild.SkippingRemainingTargets"));
1725
logger.AssertLogDoesntContain(
AssemblyResources
.GetString("MSBuild.SkippingRemainingTargets"));
1732
logger.AssertLogDoesntContain(
AssemblyResources
.GetString("MSBuild.SkippingRemainingTargets"));
Microsoft.Build.Framework.UnitTests (2)
ResourceUtilities.cs (2)
147
=>
AssemblyResources
.GetString(resourceName);
460
string unformattedMessage =
AssemblyResources
.GetString(resourceName);