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)
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"); 91if (!_report.Targets.TryGetValue(targetKey, out target))
ValidatePackage.cs (7)
143var allRuntimeGenerations = _report.Targets.Values.SelectMany(t => t.RuntimeAssets.NullAsEmpty()) 159foreach (var compileAsset in _report.Targets.Values.SelectMany(t => t.CompileAssets) 180if (!_report.Targets.TryGetValue(fx.ToString(), out compileTarget)) 196if (!_report.Targets.TryGetValue(target, out runtimeTarget)) 342var matchingFxAssets = _report.UnusedAssets.Where(i => i.TargetFramework != null && i.TargetFramework.Equals(fx) && // exact framework 387var allDlls = _report.Targets.Values.SelectMany(t => t.CompileAssets.NullAsEmpty().Concat(t.RuntimeAssets.NullAsEmpty())); 614foreach (var supportedFramework in _report.SupportedFrameworks)