Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Annotate assembly references from NuGet packages with ResolveFrom metadata #85

Open
nkolev92 opened this issue Aug 27, 2020 · 0 comments

Comments

@nkolev92
Copy link
Contributor

@kzu commented on Mon, 19 Sep 2016 18:37:30 GMT
@(ReferencePath) from regular assembly references contain metadata like ResolvedFrom={TargetFrameworkDirectory} or ResolvedFrom=ImplicitlyExpandDesignTimeFacades. It would be nice if the references added by ResolveNuGetPackageAssets annotated the reference as resolved by NuGet (maybe ResolvedFrom=Package?).

Currently, because this metadata isn't provided, they end up having ResolvedFrom={RawFileName}.

This would allow other tooling/targets to tell apart these references from others. (yes, I know the presence of the NuGetPackageId metadata can be used for the same, but for consistency with the way references are managed elsewhere, it would still be useful).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant