-
Notifications
You must be signed in to change notification settings - Fork 255
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
Adding an .esproj
project to the solution breaks dotnet list package
#12817
Comments
Team Triage: We should treat |
I found a related issue: #12520 |
I also created a related issue in the .NET respository: #41415 FYI: I can confirm that the problem is still the same with both .NET SDK |
EDIT: do not use this because there are unexpected side effects in visual studio / build system (i.e.
|
@beppemarazzi
The I therefore consider this an insufficient solution to this issue; it's a too "hacky" workaround where the unwanted side-effects are to be expected. I think we need something better than the proposed workaround to resolve this issue. |
@josundt So while we wait for a real solution the only valid workaround is to put the |
NuGet Product Used
dotnet.exe
Product Version
7.0.400
Worked before?
No response
Impact
It's more difficult to complete my work
Repro Steps & Context
dotnet list package
in the solution folder. Notice that it shows a correct output for the project..esproj
file type.)dotnet list package
in the solution folder. Notice that it shows an error about the project "AngularProject1.esproj" saying that it uses "package.config" for NuGet packages. This is wrong!dotnet list package
in the solution folder. Notice that it shows the exact same output as in step 5. There is no output for the new project created in step 6!dotnet list package
in the solution folder. Notice that it now lists both .NET projects before showing the error. This means that the behavior ofdotnet list package
is dependent on the order of the projects in the solution folder!Expected behavior:
dotnet list package
should not show an error about.esproj
projects in the solution.dotnet list package
should continue with other projects in the solution even if it has an error with one project.Actual behavior:
dotnet list package
shows a wrong error message when there is an.esproj
project in the solution.dotnet list package
doesn't continue with other projects in the solution once it finds an.esproj
projectAdditional Information:
I'm using flags like
dotnet list package --outdated
to check my solution for outdated/deprecated/vulnerable NuGet packages.Verbose Logs
The text was updated successfully, but these errors were encountered: