1 write to _report
Microsoft.DotNet.Build.Tasks.Packaging (1)
ValidationTask.cs (1)
146
_report
= PackageReport.Load(ReportFile);
14 references to _report
Microsoft.DotNet.Build.Tasks.Packaging (14)
ValidateFrameworkPackage.cs (7)
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");
91
if (!
_report
.Targets.TryGetValue(targetKey, out target))
ValidatePackage.cs (7)
143
var allRuntimeGenerations =
_report
.Targets.Values.SelectMany(t => t.RuntimeAssets.NullAsEmpty())
159
foreach (var compileAsset in
_report
.Targets.Values.SelectMany(t => t.CompileAssets)
180
if (!
_report
.Targets.TryGetValue(fx.ToString(), out compileTarget))
196
if (!
_report
.Targets.TryGetValue(target, out runtimeTarget))
342
var matchingFxAssets =
_report
.UnusedAssets.Where(i => i.TargetFramework != null && i.TargetFramework.Equals(fx) && // exact framework
387
var allDlls =
_report
.Targets.Values.SelectMany(t => t.CompileAssets.NullAsEmpty().Concat(t.RuntimeAssets.NullAsEmpty()));
614
foreach (var supportedFramework in
_report
.SupportedFrameworks)