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
dotnet list reference previously had project as an argument with a default. dotnet reference list no longer has project as an argument, but as an option.
However, if I don't specify the project option, the error message makes it seem that it attempted to lookup an empty string for project. Instead, it should have a default of the project in the current directory, as the old command did, or it should tell me I must provide an option for project.
Old behavior
dotnet list reference
There are no Project to Project references in project C:\users\eagoodso\source\repos\ConsoleApp8\ClassLibrary1.
New unexpected behavior
dotnet reference list
Could not find project or directory ``.
I haven't attempted to reproduce this yet, but I believe that the most likely issue behind this was addressed in the change to ParseResultExtensions in this commit
That commit is only in main, however. Is this a problem in main or only in 9.0.3xx?
Hi @Forgind, our bug bash was after the commit you linked. The issue existed in both 9.0.3xx and main at that time. I just retested both to hopefully clarify:
C:\users\eagoodso\source\repos\ConsoleApp8\ClassLibrary1> dotnet --version
9.0.300-preview.0.25177.5
C:\users\eagoodso\source\repos\ConsoleApp8\ClassLibrary1> dotnet reference list
Could not find project or directory ``
C:\users\eagoodso\source\repos\ConsoleApp8\ClassLibrary1> rm .\global.json
C:\users\eagoodso\source\repos\ConsoleApp8\ClassLibrary1> dotnet --version
10.0.100-preview.4.25211.20
C:\users\eagoodso\source\repos\ConsoleApp8\ClassLibrary1> dotnet reference list
Could not find project or directory ``.
dotnet list reference
previously had project as an argument with a default.dotnet reference list
no longer has project as an argument, but as an option.However, if I don't specify the project option, the error message makes it seem that it attempted to lookup an empty string for project. Instead, it should have a default of the project in the current directory, as the old command did, or it should tell me I must provide an option for project.
Old behavior
New unexpected behavior
Moved from https://github.com/NuGet/client.engineering/issues/3227, filled originally by @donnie-msft
cc @Nigusu-Allehu
The text was updated successfully, but these errors were encountered: