16 references to FormatResourceStringStripCodeAndKeyword
Microsoft.Build.Tasks.Core (8)
GetSDKReferenceFiles.cs (5)
943
_exceptionMessages.Enqueue(ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("GetSDKReferenceFiles.ProblemReadingCacheFile", cacheFile, e.ToString()));
973
_exceptionMessages.Enqueue(ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("GetSDKReferenceFiles.ProblemDeletingCacheFile", existingCacheFile, e.Message));
986
_exceptionMessages.Enqueue(ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("GetSDKReferenceFiles.ProblemWritingCacheFile", referencesCacheFile, e.Message));
1108
_exceptionMessages.Enqueue(ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("GetSDKReferenceFiles.ProblemGeneratingHash", currentAssembly, ex.Message));
1142
_exceptionMessages.Enqueue(ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("GetSDKReferenceFiles.ProblemGettingAssemblyMetadata", referencePath, e.Message));
ResolveSDKReference.cs (1)
1019
AddResolutionErrorOrWarning("ResolveSDKReference.ErrorResolvingSDK", ReferenceItem.ItemSpec, ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("ResolveSDKReference.ErrorReadingManifest", _sdkManifestPath, _sdkManifest.ReadErrorMessage));
XamlTaskFactory\CommandLineGenerator.cs (1)
540
throw new ArgumentException(ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("Xaml.MissingRequiredArgument", parentSwitch, arg.Item1));
XamlTaskFactory\XamlDataDrivenToolTask.cs (1)
403
throw new ArgumentException(ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("Xaml.MissingRequiredArgument", propertyName, argName));
Microsoft.Build.Tasks.UnitTests (8)
AssemblyDependency\SuggestedRedirects.cs (2)
205
warningMessage.ShouldContain(ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("ResolveAssemblyReference.FoundConflicts", "D", string.Empty));
250
warningMessage.ShouldContain(ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("ResolveAssemblyReference.FoundConflicts", "D", string.Empty));
ResolveSDKReference_Tests.cs (6)
413
string warning = ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("ResolveSDKReference.SDKMissingDependency", reference1.SDKName, "\"NotThere, Version=1.0\"");
416
warning = ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("ResolveSDKReference.SDKMissingDependency", reference2.SDKName, "\"reference11, Version=1.0\", \"reference77, Version=1.0\"");
419
warning = ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("ResolveSDKReference.SDKMissingDependency", reference3.SDKName, "\"NotThere, Version=1.0\", \"WhereAmI, Version=1.0\"");
422
warning = ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("ResolveSDKReference.SDKMissingDependency", reference4.SDKName, "\"NotThere, Version=1.0\"");
453
string warning = ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("ResolveSDKReference.SDKMissingDependency", "GoodTestSDK, Version=2.0", "\"NotHere, Version=1.0\"");
509
string warning = ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("ResolveSDKReference.SDKMissingDependency", "GoodTestSDK, Version=2.0", "\"Foo, Version=1.0\", \"bar, Version=2.0\"");