1 write to PackagePath
Microsoft.DotNet.Build.Tasks.Packaging (1)
GeneratePackageReport.cs (1)
364
PackagePath
= packageItem.TargetPath,
12 references to PackagePath
Microsoft.DotNet.Build.Tasks.Packaging (12)
GetApplicableAssetsFromPackageReports.cs (1)
101
item.SetMetadata("PackagePath", asset.
PackagePath
);
ValidateFrameworkPackage.cs (2)
41
var testAssetsByName = testAssets.Where(a => Path.GetExtension(a.
PackagePath
) == ".dll")
42
.ToDictionary(a => Path.GetFileNameWithoutExtension(a.
PackagePath
), a => a);
ValidatePackage.cs (9)
186
var compileAssetPaths = compileTarget.CompileAssets.Select(ca => ca.
PackagePath
);
202
var runtimeAssetPaths = runtimeTarget.RuntimeAssets.Select(ra => ra.
PackagePath
);
267
var referenceAssemblies = compileTarget.CompileAssets.Where(ca => IsDll(ca.
PackagePath
));
300
var implementationAssemblies = runtimeTarget.RuntimeAssets.Where(ra => IsDll(ra.
PackagePath
));
328
string fileName = Path.GetFileName(implementationAssembly.
PackagePath
);
344
Path.GetFileName(i.
PackagePath
).Equals(fileName, StringComparison.OrdinalIgnoreCase) &&
346
(i.
PackagePath
.StartsWith("lib") || i.
PackagePath
.StartsWith("runtimes")) &&
352
Log.LogError($"When targeting {target} {ContractName} will use {implementationAssembly.LocalPath} which targets {implementationAssembly.TargetFramework.GetShortFolderName()} but {String.Join(";", matchingFxAssets.Select(i => i.
PackagePath
))} targets {fx.GetShortFolderName()} specifically.");