dotnet nuget why shouldn't require project when there is only one in the current directory #13553
Labels
Functionality:Why
dotnet nuget why
Priority:2
Issues for the current backlog.
Product:dotnet.exe
Type:Bug
NuGet Product Used
dotnet.exe
Product Version
.NET 9 SDK daily preview
Worked before?
no, new feature
Impact
It bothers me. A fix would be nice
Repro Steps & Context
When the current directory contains only a single project file, commands like
dotnet restore
,dotnet build
,dotnet add package
,dotnet list package
, and so on, all use the project file implicitly.dotnet nuget why
not only doesn't implicitly use the project file, but outputs an error message twiceCompare this to
dotnet add package -h
which has:Verbose Logs
No response
The text was updated successfully, but these errors were encountered: