1 write to Version
Microsoft.Build.Tasks.Core (1)
ResolveSDKReference.cs (1)
735
Version
= sdkVersion;
13 references to Version
Microsoft.Build.Tasks.Core (11)
ResolveSDKReference.cs (11)
482
string rawSdkVersion = referenceItem.
Version
;
531
var resolvedReference = sdkReferenceItems.Where(y => String.Equals(y.SimpleName, simpleName, StringComparison.OrdinalIgnoreCase) && String.Equals(y.
Version
, sdkVersion, StringComparison.OrdinalIgnoreCase)).DefaultIfEmpty(null).FirstOrDefault();
736
SDKName = String.Format(CultureInfo.InvariantCulture, "{0}, Version={1}", SimpleName,
Version
);
953
return SimpleName.GetHashCode() ^
Version
.GetHashCode();
972
bool versionMatches =
Version
.Equals(other.
Version
, StringComparison.OrdinalIgnoreCase);
1252
AddResolutionWarning("ResolveSDKReference.MaxPlatformVersionLessThanTargetPlatformVersion", projectName, DisplayName,
Version
, targetPlatformIdentifier, MaxPlatformVersion, targetPlatformIdentifier, targetPlatformVersion.ToString());
1257
AddResolutionWarning("ResolveSDKReference.MaxPlatformVersionNotSpecified", projectName, DisplayName,
Version
, targetPlatformIdentifier, targetPlatformVersionFromItem.ToString(), targetPlatformIdentifier, targetPlatformVersion.ToString());
1262
AddResolutionErrorOrWarning("ResolveSDKReference.TargetPlatformIdentifierDoesNotMatch", projectName, DisplayName,
Version
, targetPlatformIdentifier, TargetPlatform);
1269
AddResolutionErrorOrWarning("ResolveSDKReference.PlatformVersionIsLessThanMinVersion", projectName, DisplayName,
Version
, targetPlatformVersion.ToString(), targetPlatformMinVersionAsVersion.ToString());
1435
ResolvedItem.SetMetadata("Version",
Version
);
Microsoft.Build.Tasks.UnitTests (2)
ResolveSDKReference_Tests.cs (2)
340
if (reference.SimpleName.Equals("Microsoft.VCLibs") && reference.
Version
.Equals("11.0"))
555
Assert.Equal(version, reference.
Version
);