3 writes to Version
Microsoft.DotNet.Build.Tasks.Packaging (1)
GeneratePackageReport.cs (1)
86
Version
= PackageVersion,
Microsoft.DotNet.Build.Tasks.Packaging.Tests (2)
ValidateHarvestVersionIsLatestForReleaseTests.cs (2)
22
Version
= "4.7.0",
127
Version
= "4.6.3",
9 references to Version
Microsoft.DotNet.Build.Tasks.Packaging (9)
GetApplicableAssetsFromPackageReports.cs (3)
78
compileAssets.AddRange(target.CompileAssets.Select(c => ItemFromApplicableAsset(c, report.Id, report.
Version
)));
80
runtimeAssets.AddRange(target.RuntimeAssets.Select(r => ItemFromApplicableAsset(r, report.Id, report.
Version
)));
82
nativeAssets.AddRange(target.NativeAssets.Select(r => ItemFromApplicableAsset(r, report.Id, report.
Version
)));
GetSupportedPackagesFromPackageReports.cs (1)
29
var packageVersion = report.
Version
;
ValidateFrameworkPackage.cs (3)
58
logMissingInbox($"File {name} was included framework package {_report.Id}/{_report.
Version
} but that file is missing from package index {string.Join(";", _index.IndexSources)}. Please add it with appropriate {nameof(PackageInfo.InboxOn)} entry for {Framework} or suppress this message with {nameof(Suppression.PermitInbox)} suppression.");
64
logMissingInbox($"File {name}, version {testAsset.Version} was included framework package {_report.Id}/{_report.
Version
} but that version is not considered inbox in package index {string.Join(";", _index.IndexSources)}. Please add it with appropriate {nameof(PackageInfo.InboxOn)} entry for {Framework} or suppress this message with {nameof(Suppression.PermitInbox)} suppression.");
79
logMissingPackage($"File {missingInboxAssembly.Key}.dll is marked as inbox for framework {Framework} but was missing from framework package {_report.Id}/{_report.
Version
}. Either add the file or update {nameof(PackageInfo.InboxOn)} entry in {string.Join(";", _index.IndexSources)}. This may be suppressed with {nameof(Suppression.PermitMissingInbox)} suppression");
ValidateHarvestVersionIsLatestForRelease.cs (2)
40
if (packageReport.
Version
.StartsWith($"{harvestMajor}.{harvestMinor}."))
42
Log.LogError($"Validation Failed: {packageReport.Id} is harvesting package version {harvestVersion} which belongs to the current package release: {packageReport.
Version
}");