✅ WSL dotnet CLI problem

Hi guys! I don't know what I've done, but for some reason when I try to run dotnet run on a minimal api project it just builds and doesn't show any errors or warnings, but it also doesn't run on the provided port and this happens in the PowerShell and in the WSL and I'm trying to setup a good development environment on the WSL to separate my dev work in the WSL and my personal stuff in Windows. Also in Docker when the container starts it shuts down right after without a warning or anything. Any suggestions would be awesome, thank you! (I've also tried to delete the bin and obj folder and build again, but it didn't work, I'm running of solutions here guys 🙁 )
No description
No description
No description
4 Replies
Unknown User
Unknown User4d ago
Message Not Public
Sign In & Join Server To View
Carlos Saraiva
Carlos SaraivaOP4d ago
Sorry, I solved this, the problem was that I'm too dumb. I was creating this from scratch and I thought I had added the app.Run(), for some reason I didn't even check this, but yeah, I forgot to put it there 🙁
Unknown User
Unknown User3d ago
Message Not Public
Sign In & Join Server To View
MODiX
MODiX3d ago
If you have no further questions, please use /close to mark the forum thread as answered

Did you find this page helpful?