1 write to LocalPath
Microsoft.DotNet.Build.Tasks.Packaging (1)
GeneratePackageReport.cs (1)
363
LocalPath
= packageItem.SourcePath,
13 references to LocalPath
Microsoft.DotNet.Build.Tasks.Packaging (13)
GetApplicableAssetsFromPackageReports.cs (1)
100
var item = new TaskItem(asset.
LocalPath
);
GetLayoutFiles.cs (2)
119
return assets.Where(a => !NuGetAssetResolver.IsPlaceholder(a.
LocalPath
))
120
.SelectMany(a => CreateLayoutFile(a.
LocalPath
, subFolder, assetType));
ValidatePackage.cs (10)
160
.Where(f => IsDll(f.
LocalPath
) && FrameworkUtilities.IsGenerationMoniker(f.TargetFramework)))
164
Log.LogError($"Invalid generation {compileAsset.TargetFramework.Version} for {compileAsset.
LocalPath
}, must be at least {minSupportedGeneration} based on the implementations in the package. If you meant to target the lower generation you may be missing an implementation for a framework on that lower generation. If not you should raise the generation of the reference assembly to match that of the lowest supported generation of all implementations/placeholders.");
280
Log.LogError($"{ContractName} should support API version {supportedVersion} on {target} but {referenceAssembly.
LocalPath
} was found to support {referenceAssemblyVersion?.ToString() ?? "<unknown version>"}.");
309
Log.LogError($"{ContractName} should support API version {supportedVersion} on {target} but {implementationAssembly.
LocalPath
} was found to support {implementationVersion?.ToString() ?? "<unknown version>"}.");
332
Log.LogError($"{ContractName} includes both {implementationAssembly.
LocalPath
} and {implementationFiles[fileName].
LocalPath
} an on {target} which have the same name and will clash when both packages are used.");
348
i.
LocalPath
!= implementationAssembly.
LocalPath
);
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.");
437
var moduleNames = allDlls.Select(d => Path.GetFileNameWithoutExtension(d.
LocalPath
));