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
[Docs][dotnet cmd] Wrong / not working cmd "dotnet add package" without specifying the --project (Solution included!) #20939
as this is just quick example reference, I would suggest to run a quick text search for each repo producing docs and update these advises accordingly.
Solution:
Update those command advises to include the --Project MyUnoApp while this Name here stands in the end for the Folder our actual project to add this to can be found. no actual need to full type it as long as there are not two csproj files.
For example, discovered this while adding some for my Server Project, gathered by the uno template using the --server 👍
Works with CPM for the Packages I used so far to add
But here is an Issue on NuGet I found and added this for me working bug solution: NuGet/Home#12967
I am not sure for which particular these compile errors should count, but for me the command is working fine if I use it like this
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs or feature requests.
Activity
jeromelaban commentedon Jul 14, 2025
Thanks for the report! Indeed this is a small change in the docs that would make sense just to add the
--project.github-actions commentedon Apr 30, 2026
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs or feature requests.