4 writes to Id
Microsoft.DotNet.Build.Tasks.Packaging (1)
GeneratePackageReport.cs (1)
85
Id
= PackageId,
Microsoft.DotNet.Build.Tasks.Packaging.Tests (3)
ValidateHarvestVersionIsLatestForReleaseTests.cs (3)
21
Id
= "TestPackage",
86
Id
= "TestPackage",
126
Id
= "TestPackage",
17 references to Id
Microsoft.DotNet.Build.Tasks.Packaging (17)
GetApplicableAssetsFromPackageReports.cs (4)
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)));
87
Log.LogMessage($"No assets found for '{report.
Id
}' applicable to '{targetString}'.");
GetSupportedPackagesFromPackageReports.cs (1)
28
var packageId = report.
Id
;
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 (9)
42
Log.LogError($"Validation Failed: {packageReport.
Id
} is harvesting package version {harvestVersion} which belongs to the current package release: {packageReport.Version}");
46
string latestPatchVersion = GetLatestStableVersionForPackageRelease(packageReport.
Id
, harvestMajor, harvestMinor);
49
Log.LogError($"Validation Failed: {packageReport.
Id
} is harvesting assets from package version {harvestVersion} which is not the latest for that package release. Latest package version from that release is {latestPatchVersion}. In order to fix this, run `dotnet msbuild {packageReport.
Id
}.pkgproj /t:UpdateHarvestVersionOnPackageIndex /p:UpdateStablePackageInfo=true`");
53
Log.LogMessage(LogImportance.Normal, $"Validation Succeeded: {packageReport.
Id
} is harvesting assets from package version {harvestVersion} which is the latest for that package erreleasea.");
58
Log.LogMessage(LogImportance.Normal, $"Validation Succeeded: {packageReport.
Id
} is not harvesting any assets.");
79
return GetHarvestVersionFromString(compileAsset.HarvestedFrom, report.
Id
, out harvestVersion, out harvestMajor, out harvestMinor);
87
return GetHarvestVersionFromString(runtimeAsset.HarvestedFrom, report.
Id
, out harvestVersion, out harvestMajor, out harvestMinor);
95
return GetHarvestVersionFromString(nativeAsset.HarvestedFrom, report.
Id
, out harvestVersion, out harvestMajor, out harvestMinor);