Skip to content

Clarification of lib vs ref & runtimes folders #11097

Answered by zivkan
toptensoftware asked this question in Q&A
Discussion options

You must be logged in to vote

Don't use the <references> section in the metadata. That's a packages.config-era feature, whereas the top level ref and runtimes folders are PackageReference only. In other words, <references> only works in lib/, which is where I expect the error is coming from. In PackageReference, assets under runtimes/ are never passed to the compiler, whereas assets under ref/ are only passed to the compiler, never copied to the output folder.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@toptensoftware
Comment options

@zivkan
Comment options

@toptensoftware
Comment options

Answer selected by toptensoftware
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants