Visual studio 2022 is unable to start a ASP.NET Core project on docker, here is what I did:
Unable to resolve dotnet core version puped:

If I try to browse the URL on browser, I got ERR_EMPTY_RESPONSE
Does the VS2022 template needs some modifications to work? Any help?
What I tried:
I also found this today. For me the solution was to edit my PATH environment variable, re-ordering it so that the 64-bit version of dotnet executable's folder was above the 32-bit one, and then restart VS.
C:\Program Files\dotnet\ needs to be before C:\Program Files (x86)\dotnet\
My understanding is that the first match is used, and the dotnet sdks are not reachable from the alternative architecture.
A symptom of the problem is that calling dotnet --list-sdks returns nothing.
By swapping the paths as above, my list command was returning stuff again, (and I could run apps!)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With