You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
CLI should support adding references to DLLs #8627
Now that referencing DLLs are supported, I think there should be a way to do this via the CLI.
Perhaps dotnet add reference could support P2P references or DLLs?
Actual behavior
Only way to do this is modifying the project to use Reference instead of ProjectReference or PackageReference.
Environment data
dotnet --info output:
.NET Command Line Tools (2.0.0)
Due to lack of recent activity, this issue has been labeled as 'Stale'. It will be closed if no further activity occurs within 14 more days. Any new comment will remove the label.
Activity
livarcocc commentedon Nov 12, 2017
cc @KathleenDollard for consideration. Putting it in the backlog for now.
niektuytel commentedon Apr 11, 2022
Do you have any update on this?
(It has now more than 8 thumbs-up)
github-actions commentedon May 27, 2026
Due to lack of recent activity, this issue has been labeled as 'Stale'. It will be closed if no further activity occurs within 14 more days. Any new comment will remove the label.
pedro-w commentedon May 28, 2026
I think this would be useful and is not supported in the current dotnet command, unless there is another recommended way to do it @mairaw ?