14 references to FormatResourceStringStripCodeAndKeyword
Microsoft.Build.Tasks.Core (9)
ErrorUtilities.cs (2)
251
throw new InvalidOperationException(ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
(resourceName, args));
356
throw new ArgumentException(ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
(resourceName, args), innerException);
GetSDKReferenceFiles.cs (3)
350
string message = ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("GetSDKReferenceFiles.ConflictRedistDifferentSDK", winner.TargetPath, winner.SDKReferenceItem.GetMetadata("OriginalItemSpec"), redist.SDKReferenceItem.GetMetadata("OriginalItemSpec"), winner.RedistFile, redist.RedistFile);
431
string message = ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("GetSDKReferenceFiles.ConflictReferenceDifferentSDK", winner.SDKReferenceItem.GetMetadata("OriginalItemSpec"), reference.SDKReferenceItem.GetMetadata("OriginalItemSpec"), winner.AssemblyLocation, reference.AssemblyLocation);
643
string message = ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("GetSDKReferenceFiles.ConflictRedistSameSDK", redistFile.TargetPath, redistFile.SDKReferenceItem.GetMetadata("OriginalItemSpec"), winner.RedistFile.Replace(redistFile.SDKReferenceItem.ItemSpec, String.Empty), redistFile.RedistFile.Replace(redistFile.SDKReferenceItem.ItemSpec, String.Empty));
MetadataConversionUtilities.cs (1)
46
throw new ArgumentException(ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("General.InvalidAttributeMetadata", item.ItemSpec, itemMetadataName, metadataValue, "bool"), e);
ResolveSDKReference.cs (1)
608
string formattedMessage = ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
(message.Item1, message.Item2);
XamlTaskFactory\RelationsParser.cs (1)
577
ErrorLog.AddLast(ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
(messageResourceName, messageArgs));
XamlTaskFactory\TaskGenerator.cs (1)
1225
ErrorLog.AddLast(ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
(messageResourceName, messageArgs));
Microsoft.Build.Tasks.UnitTests (5)
FindInvalidProjectReferences_Tests.cs (4)
45
string warning1 = ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("FindInvalidProjectReferences.WarnWhenVersionIsIncompatible", "Windows", "8.0", "proj1.proj", "Windows, Version=7.0");
48
string warning2 = ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("FindInvalidProjectReferences.WarnWhenVersionIsIncompatible", "Windows", "8.0", "proj2.proj", "Windows, Version=8.0");
51
string warning3 = ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("FindInvalidProjectReferences.WarnWhenVersionIsIncompatible", "Windows", "8.0", "proj3.proj", "Windows, Version=8.1");
54
string warning4 = ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("FindInvalidProjectReferences.WarnWhenVersionIsIncompatible", "Windows", "8.0", "proj4.proj", "Windows, Version=8.2");
MSBuildInternalMessage_Tests.cs (1)
47
string expectedBuildMessage = ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
(expectedResourceName, formatArgs);