-
Notifications
You must be signed in to change notification settings - Fork 261
dotnet list package
cannot resolve relative path
#12954
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Adding my voice here too - I am also running into this today. |
Same thing here. We have a tool using |
Same exact thing for us - built into our CI/CD pipeline. We're pivoting at the moment but would be great if the original functionality was restored. |
Same here...
|
I looked under the debugger and this line of code isn't checking if the path coming in is a file or folder and leads to the path getting mangled: |
There is a workaround that I've put into pipelines, where you can specify a path to the Nuget.Config file, using the --config option @grichards23 @sailro |
Same here. |
Same here, encountering this issue as well on .NET 8.0.100. |
@mbenedykconfigit, @grichards23, @ChristoWolf, @junlinz2, can you upvote this issue? |
We added scan-nuget-vulnerabilities.ps1
|
I've used |
in shell i use |
Doesn't work if you have more than one solution file ... |
As mentioned in #13149 (comment), this is a regression. It was caused by dotnet/sdk#20449 which tried addressing "dotnet list package fails when current directory path contains # character". The solution to this problem involved eliminating the use of |
This has broken us too. Are there plans for a fix? |
@mhubis: |
We have resolved the problem and integrated a solution that will be included in the upcoming 8.0.3xx release. |
NuGet Product Used
dotnet.exe
Product Version
dotnet: 8.0.0-rc.2.23479.6, NuGet Command Line 6.8.0.117
Worked before?
No response
Impact
It's more difficult to complete my work
Repro Steps & Context
Follow-up dotnet/sdk#36254
Describe the bug
dotnet list XXX.sln package
fails to list packagesTo Reproduce
I'm having directory with multiple sln files inside so I have to point direct sln for
dotnet list package
.Exceptions (if any)
PATH TO SLN DIRECOTRY> dotnet list XXX.sln package
PATH TO SLN DIRECOTRY> dotnet list XXX.sln package --config NuGet.Config
PATH TO SLN DIRECOTRY> dotnet list "PATH TO SLN DIRECOTRY\XXX.sln" package --config "PATH TO SLN DIRECOTRY\NuGet.Config"
Further technical details
global.json used for solution
Verbose Logs
No response
The text was updated successfully, but these errors were encountered: