1 write to _targetPathToPackageItem
Microsoft.DotNet.Build.Tasks.Packaging (1)
GeneratePackageReport.cs (1)
316
_targetPathToPackageItem
= new Dictionary<string, PackageItem>();
6 references to _targetPathToPackageItem
Microsoft.DotNet.Build.Tasks.Packaging (6)
GeneratePackageReport.cs (6)
168
version =
_targetPathToPackageItem
[AggregateNuGetAssetResolver.AsPackageSpecificTargetPath(PackageId, refAssm)].Version?.ToString() ?? version;
226
var fileFrameworks =
_targetPathToPackageItem
.Values.Select(f => f.TargetFramework).Distinct(NuGetFramework.Comparer).Where(f => f != null);
324
if (
_targetPathToPackageItem
.ContainsKey(packageSpecificTargetPath))
326
Log.LogError($"Files {
_targetPathToPackageItem
[packageSpecificTargetPath].SourcePath} and {packageItem.SourcePath} have the same TargetPath {packageSpecificTargetPath}.");
328
_targetPathToPackageItem
[packageSpecificTargetPath] = packageItem;
355
if (!
_targetPathToPackageItem
.TryGetValue(targetPath, out packageItem))