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)
168version = _targetPathToPackageItem[AggregateNuGetAssetResolver.AsPackageSpecificTargetPath(PackageId, refAssm)].Version?.ToString() ?? version; 226var fileFrameworks = _targetPathToPackageItem.Values.Select(f => f.TargetFramework).Distinct(NuGetFramework.Comparer).Where(f => f != null); 324if (_targetPathToPackageItem.ContainsKey(packageSpecificTargetPath)) 326Log.LogError($"Files {_targetPathToPackageItem[packageSpecificTargetPath].SourcePath} and {packageItem.SourcePath} have the same TargetPath {packageSpecificTargetPath}."); 328_targetPathToPackageItem[packageSpecificTargetPath] = packageItem; 355if (!_targetPathToPackageItem.TryGetValue(targetPath, out packageItem))