1 write to SDKName
Microsoft.Build.Tasks.Core (1)
ResolveSDKReference.cs (1)
736
SDKName
= String.Format(CultureInfo.InvariantCulture, "{0}, Version={1}", SimpleName, Version);
16 references to SDKName
Microsoft.Build.Tasks.Core (12)
ResolveSDKReference.cs (12)
412
listOfIncompatibleReferences.Add(String.Format(CultureInfo.CurrentCulture, "\"{0}\"", incompatibleReference.
SDKName
));
423
Log.LogErrorWithCodeFromResources("ResolveSDKReference.CannotReferenceTwoSDKsSameFamily", notCompatibleReference.
SDKName
, incompatibleReferencesDelimited, notCompatibleReference.ProductFamilyName);
427
Log.LogWarningWithCodeFromResources("ResolveSDKReference.CannotReferenceTwoSDKsSameFamily", notCompatibleReference.
SDKName
, incompatibleReferencesDelimited, notCompatibleReference.ProductFamilyName);
441
listOfIncompatibleReferences.Add(String.Format(CultureInfo.CurrentCulture, "\"{0}\"", incompatibleReference.
SDKName
));
452
Log.LogErrorWithCodeFromResources("ResolveSDKReference.CannotReferenceTwoSDKsSameName", notCompatibleReference.
SDKName
, incompatibleReferencesDelimited);
456
Log.LogWarningWithCodeFromResources("ResolveSDKReference.CannotReferenceTwoSDKsSameName", notCompatibleReference.
SDKName
, incompatibleReferencesDelimited);
510
log.LogWarningWithCodeFromResources("ResolveSDKReference.SDKMissingDependency", reference.
SDKName
, missingDependencies);
910
if (sdks.TryGetValue(
SDKName
, out ITaskItem sdk))
1171
ResolvedItem.SetMetadata("SDKName",
SDKName
);
1244
AddResolutionErrorOrWarning("ResolveSDKReference.TargetArchitectureNotSupported", remappedArchitecture,
SDKName
, supportedArchList);
1279
AddResolutionErrorOrWarning("ResolveSDKReference.Prefer32BitNotSupportedWithNeutralProject",
SDKName
);
1443
bool referenceItemHasSDKName = sdkNamesOnReferenceItems.Contains(
SDKName
);
Microsoft.Build.Tasks.UnitTests (4)
ResolveSDKReference_Tests.cs (4)
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\"");