3 writes to Version
Microsoft.DotNet.Build.Tasks.Packaging (1)
GeneratePackageReport.cs (1)
86Version = PackageVersion,
Microsoft.DotNet.Build.Tasks.Packaging.Tests (2)
ValidateHarvestVersionIsLatestForReleaseTests.cs (2)
22Version = "4.7.0", 127Version = "4.6.3",
9 references to Version
Microsoft.DotNet.Build.Tasks.Packaging (9)
GetApplicableAssetsFromPackageReports.cs (3)
78compileAssets.AddRange(target.CompileAssets.Select(c => ItemFromApplicableAsset(c, report.Id, report.Version))); 80runtimeAssets.AddRange(target.RuntimeAssets.Select(r => ItemFromApplicableAsset(r, report.Id, report.Version))); 82nativeAssets.AddRange(target.NativeAssets.Select(r => ItemFromApplicableAsset(r, report.Id, report.Version)));
GetSupportedPackagesFromPackageReports.cs (1)
29var packageVersion = report.Version;
ValidateFrameworkPackage.cs (3)
58logMissingInbox($"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."); 64logMissingInbox($"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."); 79logMissingPackage($"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)
40if (packageReport.Version.StartsWith($"{harvestMajor}.{harvestMinor}.")) 42Log.LogError($"Validation Failed: {packageReport.Id} is harvesting package version {harvestVersion} which belongs to the current package release: {packageReport.Version}");