1 write to _targetPathToPackageItem
Microsoft.DotNet.Build.Tasks.Packaging (1)
GetApplicableAssetsFromPackages.cs (1)
176
_targetPathToPackageItem
= new Dictionary<string, PackageItem>();
5 references to _targetPathToPackageItem
Microsoft.DotNet.Build.Tasks.Packaging (5)
GetApplicableAssetsFromPackages.cs (5)
102
.Select(ca =>
_targetPathToPackageItem
[ca]);
126
.Select(ra =>
_targetPathToPackageItem
[ra]);
183
if (
_targetPathToPackageItem
.ContainsKey(packageSpecificTargetPath))
185
Log.LogError($"Files {
_targetPathToPackageItem
[packageSpecificTargetPath].SourcePath} and {packageFile.SourcePath} have the same TargetPath {packageSpecificTargetPath}.");
187
_targetPathToPackageItem
[packageSpecificTargetPath] = packageFile;