Open corngood opened 4 months ago
The use of $(NuGetPackageRoot) here:
$(NuGetPackageRoot)
https://github.com/tunnelvisionlabs/ReferenceAssemblyAnnotator/blob/2edad1afcd996e2cd54fb18279326e935818f0f6/TunnelVisionLabs.ReferenceAssemblyAnnotator/TunnelVisionLabs.ReferenceAssemblyAnnotator.targets#L80
obviously doesn't work if microsoft.netcore.app.ref isn't in the package root, but this is possible when using fallback package paths.
microsoft.netcore.app.ref
I think ideally this should be getting the path as resolved by nuget, but I'm not quite sure how to go about doing that.
The use of
$(NuGetPackageRoot)
here:https://github.com/tunnelvisionlabs/ReferenceAssemblyAnnotator/blob/2edad1afcd996e2cd54fb18279326e935818f0f6/TunnelVisionLabs.ReferenceAssemblyAnnotator/TunnelVisionLabs.ReferenceAssemblyAnnotator.targets#L80
obviously doesn't work if
microsoft.netcore.app.ref
isn't in the package root, but this is possible when using fallback package paths.I think ideally this should be getting the path as resolved by nuget, but I'm not quite sure how to go about doing that.