84 references to LogWarningWithCodeFromResources
Microsoft.Build.Tasks.CodeAnalysis (1)
Csc.cs (1)
475
log.
LogWarningWithCodeFromResources
("Csc_InvalidParameterWarning", "/define:", singleIdentifier);
Microsoft.Build.Tasks.Core (75)
AssemblyDependency\GenerateBindingRedirects.cs (5)
219
Log.
LogWarningWithCodeFromResources
("GenerateBindingRedirects.MissingNode", "dependentAssembly", "assemblyBinding");
267
Log.
LogWarningWithCodeFromResources
("GenerateBindingRedirects.MalformedVersionNumber", oldVerStrLow);
273
Log.
LogWarningWithCodeFromResources
("GenerateBindingRedirects.MalformedVersionNumber", oldVerStrHigh);
315
Log.
LogWarningWithCodeFromResources
("GenerateBindingRedirects.OverlappingBindingRedirect", entry.Key.ToString(), bindingRedirect.ToString());
379
Log.
LogWarningWithCodeFromResources
("GenerateBindingRedirects.MalformedAssemblyName", redirectStr);
AssemblyDependency\ReferenceTable.cs (10)
2938
_log.
LogWarningWithCodeFromResources
("ResolveAssemblyReference.UnknownProcessorArchitecture", dllPath, winmdFile, machineType.ToString("X", CultureInfo.InvariantCulture));
2959
_log.
LogWarningWithCodeFromResources
("ResolveAssemblyReference.MismatchBetweenTargetedAndReferencedArchOfImplementation", ResolveAssemblyReference.ProcessorArchitectureToString(_targetProcessorArchitecture), ResolveAssemblyReference.ProcessorArchitectureToString(dllArchitecture), dllPath, winmdFile);
3071
_log.
LogWarningWithCodeFromResources
("ResolveAssemblyReference.PrimaryReferenceOutsideOfFramework", reference.PrimarySourceItem.ItemSpec /* primary item spec*/, reference.ReferenceVersion /*Version of dependent assembly*/, reference.ExclusionListLoggingProperties.HighestVersionInRedist /*Version found in redist*/);
3075
_log.
LogWarningWithCodeFromResources
("ResolveAssemblyReference.DependencyReferenceOutsideOfFramework", referenceItem.ItemSpec /* primary item spec*/, assemblyName.FullName /*Dependent assemblyName*/, reference.ReferenceVersion /*Version of dependent assembly*/, reference.ExclusionListLoggingProperties.HighestVersionInRedist /*Version found in redist*/);
3086
_log.
LogWarningWithCodeFromResources
("ResolveAssemblyReference.PrimaryReferenceOutsideOfFrameworkUsingAttribute", reference.PrimarySourceItem.ItemSpec /* primary item spec*/, reference.FrameworkNameAttribute /*Version of dependent assembly*/, targetedFramework);
3090
_log.
LogWarningWithCodeFromResources
("ResolveAssemblyReference.DependencyReferenceOutsideOfFrameworkUsingAttribute", referenceItem.ItemSpec /* primary item spec*/, assemblyName.FullName /*Dependent assemblyName*/, reference.FrameworkNameAttribute, targetedFramework);
3101
_log.
LogWarningWithCodeFromResources
("ResolveAssemblyReference.PrimaryReferenceInAnotherFramework", reference.PrimarySourceItem.ItemSpec /* primary item spec*/, targetedFramework);
3105
_log.
LogWarningWithCodeFromResources
("ResolveAssemblyReference.DependencyReferenceInAnotherFramework", referenceItem.ItemSpec /* primary item spec*/, assemblyName.FullName /*Dependent assemblyName*/, targetedFramework);
3116
_log.
LogWarningWithCodeFromResources
("ResolveAssemblyReference.FailedToResolveReferenceBecausePrimaryAssemblyInExclusionList", reference.PrimarySourceItem.ItemSpec, targetedFramework);
3120
_log.
LogWarningWithCodeFromResources
("ResolveAssemblyReference.FailBecauseDependentAssemblyInExclusionList", referenceItem.ItemSpec, assemblyName.FullName, targetedFramework);
AssemblyDependency\ResolveAssemblyReference.cs (14)
1137
Log.
LogWarningWithCodeFromResources
("ResolveAssemblyReference.FoundConflicts", assemblyName.Name, output);
1245
Log.
LogWarningWithCodeFromResources
("ResolveAssemblyReference.TurnOnAutoGenerateBindingRedirects");
1251
Log.
LogWarningWithCodeFromResources
("ResolveAssemblyReference.SuggestedRedirects", buffer.ToString());
1265
Log.
LogWarningWithCodeFromResources
("General.MalformedAssemblyName", e.SourceItemSpec);
2027
Log.
LogWarningWithCodeFromResources
("ResolveAssemblyReference.ConflictUnsolvable", reference.ConflictVictorName, fusionName);
2238
Log.
LogWarningWithCodeFromResources
("ResolveAssemblyReference.NoSubsetsFound");
2244
Log.
LogWarningWithCodeFromResources
("ResolveAssemblyReference.NoRedistAssembliesToGenerateExclusionList");
2292
Log.
LogWarningWithCodeFromResources
("ResolveAssemblyReference.InvalidInstalledAssemblyTablesFile", filename, RedistList.RedistListFolder, e.Message);
2302
Log.
LogWarningWithCodeFromResources
("ResolveAssemblyReference.InvalidInstalledAssemblySubsetTablesFile", filename, SubsetListFinder.SubsetListFolder, e.Message);
2642
Log.
LogWarningWithCodeFromResources
("ResolveAssemblyReference.MismatchBetweenTargetedAndReferencedArch", ProcessorArchitectureToString(processorArchitecture), item.GetMetadata("OriginalItemSpec"), ProcessorArchitectureToString(assemblyArch));
2790
Log.
LogWarningWithCodeFromResources
("ResolveAssemblyReference.NoRedistAssembliesToGenerateExclusionList");
2795
Log.
LogWarningWithCodeFromResources
("ResolveAssemblyReference.NoProfilesFound");
2808
Log.
LogWarningWithCodeFromResources
("ResolveAssemblyReference.InvalidProfileRedistLocation", filename, RedistList.RedistListFolder, e.Message);
3117
Log.
LogWarningWithCodeFromResources
("ResolveAssemblyReference.FailedToResolveReferenceBecauseHigherTargetFramework", assembly.ItemSpec, assembly.GetMetadata(ItemMetadataNames.targetFramework));
AssignCulture.cs (1)
172
Log.
LogWarningWithCodeFromResources
("AssignCulture.CultureOverwritten",
Copy.cs (3)
220
Log.
LogWarningWithCodeFromResources
(messageResourceName, messageArgs);
974
Log.
LogWarningWithCodeFromResources
("Copy.Retrying", sourceFileState.Name,
1000
Log.
LogWarningWithCodeFromResources
("Copy.Retrying", sourceFileState.Name,
CreateCSharpManifestResourceName.cs (1)
135
log?.
LogWarningWithCodeFromResources
("CreateManifestResourceName.DefinitionFoundWithinConditionalDirective", dependentUponFileName, embeddedFileName);
CreateItem.cs (1)
162
Log.
LogWarningWithCodeFromResources
(
CreateVisualBasicManifestResourceName.cs (1)
134
log?.
LogWarningWithCodeFromResources
("CreateManifestResourceName.DefinitionFoundWithinConditionalDirective", dependentUponFileName, embeddedFileName);
Delete.cs (2)
153
Log.
LogWarningWithCodeFromResources
("Delete.Retrying", file.ToString(), retries, RetryDelayMilliseconds, e.Message, lockedFileMessage);
182
Log.
LogWarningWithCodeFromResources
("Delete.Error", file.ItemSpec, e.Message, lockedFileMessage);
DownloadFile.cs (1)
116
Log.
LogWarningWithCodeFromResources
("DownloadFile.Retrying", SourceUrl, retryAttemptCount + 1, RetryDelayMilliseconds, actualException.Message);
FindInvalidProjectReferences.cs (1)
97
Log.
LogWarningWithCodeFromResources
("FindInvalidProjectReferences.WarnWhenVersionIsIncompatible", TargetPlatformIdentifier, TargetPlatformVersion, referenceIdentity, referencePlatformMoniker);
GenerateManifestBase.cs (5)
373
Log.
LogWarningWithCodeFromResources
("GenerateManifest.InvalidItemValue", "AssemblyType", item.ItemSpec);
377
Log.
LogWarningWithCodeFromResources
("GenerateManifest.InvalidItemValue", "AssemblyType", item.ItemSpec);
404
Log.
LogWarningWithCodeFromResources
("GenerateManifest.InvalidItemValue", "DependencyType", item.ItemSpec);
408
Log.
LogWarningWithCodeFromResources
("GenerateManifest.InvalidItemValue", "DependencyType", item.ItemSpec);
596
Log.
LogWarningWithCodeFromResources
("GenerateManifest.TargetPathTooLong", manifestFileName, MaxTargetPath);
GenerateResource.cs (1)
2897
_logger.
LogWarningWithCodeFromResources
("GenerateResource.DeleteCorruptOutputFailed", FileUtilities.GetFullPathNoThrow(filename), deleteException.Message);
GetInstalledSDKLocations.cs (1)
183
Log.
LogWarningWithCodeFromResources
("GetInstalledSDKs.NoSDksFound", TargetPlatformIdentifier, TargetPlatformVersion);
GetSDKReferenceFiles.cs (4)
351
Log.
LogWarningWithCodeFromResources
("GetSDKReferenceFiles.ConflictBetweenFiles", message);
432
Log.
LogWarningWithCodeFromResources
("GetSDKReferenceFiles.ConflictBetweenFiles", message);
604
Log.
LogWarningWithCodeFromResources
("GetSDKReferenceFiles.ConflictBetweenFiles", message);
644
Log.
LogWarningWithCodeFromResources
("GetSDKReferenceFiles.ConflictBetweenFiles", message);
ManifestUtil\OutputMessage.cs (1)
146
task.Log.
LogWarningWithCodeFromResources
(message.Name, message.GetArguments());
MSBuildInternalMessage.cs (1)
66
Log.
LogWarningWithCodeFromResources
(ResourceName, FormatArguments);
PlatformNegotiation.cs (3)
28
log?.
LogWarningWithCodeFromResources
("GetCompatiblePlatform.NoPlatformsListed", projectPath);
88
log?.
LogWarningWithCodeFromResources
("GetCompatiblePlatform.NoCompatiblePlatformFound", projectPath);
115
log?.
LogWarningWithCodeFromResources
("GetCompatiblePlatform.InvalidLookupTableFormat", stringTable);
RemoveDir.cs (1)
60
Log.
LogWarningWithCodeFromResources
("RemoveDir.EmptyPath");
ResolveCodeAnalysisRuleSet.cs (1)
125
Log.
LogWarningWithCodeFromResources
("Compiler.UnableToFindRuleSet", CodeAnalysisRuleSet);
ResolveKeySource.cs (1)
200
Log.
LogWarningWithCodeFromResources
("ResolveKeySource.ResolvedThumbprintEmpty");
ResolveManifestFiles.cs (4)
441
Log.
LogWarningWithCodeFromResources
("ResolveManifestFiles.PublishFileNotFound", publishInfo.key);
565
Log.
LogWarningWithCodeFromResources
("ResolveManifestFiles.PublishFileNotFound", publishInfo.key);
626
Log.
LogWarningWithCodeFromResources
("ResolveManifestFiles.PublishFileNotFound", publishInfo.key);
730
Log.
LogWarningWithCodeFromResources
("GenerateManifest.InvalidItemValue", "FileType", item.ItemSpec);
ResolveNonMSBuildProjectOutput.cs (1)
130
Log.
LogWarningWithCodeFromResources
("ResolveNonMSBuildProjectOutput.ProjectReferenceResolutionFailure", projectRef.ItemSpec);
ResolveProjectBase.cs (1)
97
Log.
LogWarningWithCodeFromResources
("General.MissingOrUnknownProjectReferenceAttribute", reference.ItemSpec, missingAttribute);
ResolveSDKReference.cs (5)
427
Log.
LogWarningWithCodeFromResources
("ResolveSDKReference.CannotReferenceTwoSDKsSameFamily", notCompatibleReference.SDKName, incompatibleReferencesDelimited, notCompatibleReference.ProductFamilyName);
456
Log.
LogWarningWithCodeFromResources
("ResolveSDKReference.CannotReferenceTwoSDKsSameName", notCompatibleReference.SDKName, incompatibleReferencesDelimited);
510
log.
LogWarningWithCodeFromResources
("ResolveSDKReference.SDKMissingDependency", reference.SDKName, missingDependencies);
624
Log.
LogWarningWithCodeFromResources
(warning.Item1, warning.Item2);
645
Log.
LogWarningWithCodeFromResources
(errorOrWarning.Item1, errorOrWarning.Item2);
SdkToolsPathUtility.cs (1)
100
log.
LogWarningWithCodeFromResources
("General.PlatformSDKFileNotFoundSdkToolsPath", toolName, processorSpecificToolDirectory, sdkToolsPath);
SignFile.cs (1)
79
Log.
LogWarningWithCodeFromResources
("SignFile.SignToolWarning", ex.Message.Trim());
StateFileBase.cs (2)
67
log.
LogWarningWithCodeFromResources
("General.CouldNotWriteStateFile", stateFile, e.Message);
148
log.
LogWarningWithCodeFromResources
("General.CouldNotDeleteStateFile", stateFile, e.Message);
SystemState.cs (1)
619
log.
LogWarningWithCodeFromResources
("General.StateFileAlreadyPresent", stateFile);
Microsoft.Build.Tasks.UnitTests (3)
ToolTaskExtension_Tests.cs (3)
35
t.Log.
LogWarningWithCodeFromResources
("Csc.InvalidParameter");
41
log.
LogWarningWithCodeFromResources
("Shared.FailedCreatingTempFile", "Gothic II");
48
log.
LogWarningWithCodeFromResources
("ToolTask.CouldNotStartToolExecutable", "Fallout Tactics", "Fallout 2");
Microsoft.Build.Utilities.Core (5)
ToolTask.cs (5)
385
Log.
LogWarningWithCodeFromResources
("ToolTask.InvalidTerminationTimeout", TaskProcessTerminationTimeout);
643
LogPrivate.
LogWarningWithCodeFromResources
("ToolTask.CommandTooLong", GetType().Name);
864
LogShared.
LogWarningWithCodeFromResources
("Shared.FailedDeletingTempFile", fileName, e.Message, lockedFileMessage);
998
LogShared.
LogWarningWithCodeFromResources
("Shared.KillingProcess", processName, Timeout);
1002
LogShared.
LogWarningWithCodeFromResources
("Shared.KillingProcessByCancellation", processName);