12 references to Version
Microsoft.DotNet.Build.Tasks.Packaging (12)
GeneratePackageReport.cs (2)
168
version = _targetPathToPackageItem[AggregateNuGetAssetResolver.AsPackageSpecificTargetPath(PackageId, refAssm)].
Version
?.ToString() ?? version;
366
Version = packageItem.
Version
HarvestPackage.cs (10)
294
var desktopRefVersions = liveDesktopDlls.Where(d => d.IsRef && d.
Version
!= null).Select(d => d.
Version
);
295
var desktopLibVersions = liveDesktopDlls.Where(d => !d.IsRef && d.
Version
!= null).Select(d => d.
Version
);
355
if (extension != s_dll || assemblyVersion == null || liveFile.
Version
== null)
377
if (preserveRefVersion.Contains(liveFile.
Version
))
384
if (assemblyVersion.Major != liveFile.
Version
.Major ||
385
assemblyVersion.Minor != liveFile.
Version
.Minor)
387
LogSkipIncludedFile(livePackagePath, $" because it is a different API version ( {liveFile.
Version
.Major}.{liveFile.
Version
.Minor} vs {assemblyVersion.Major}.{assemblyVersion.Minor}.");