❔ how do i make "dotnet new console" work

DD.Waktins2/10/2023
pls help
Image
Mmtreit2/10/2023
winget install Microsoft.DotNet.SDK.7
Mmtreit2/10/2023
You need to install the SDK
Mmtreit2/10/2023
Then open a new PowerShell window and try again
Ttebeco2/10/2023
Yeah, use the winget install one, but then close the entire terminal and re-open it
Ttebeco2/10/2023
because dotnet will be found from the PATH and for that you need the app to be re-open to be re-seedeed with new PATH values
Ttebeco2/10/2023
so:
* open terminal
* winget install Microsoft.DotNet.SDK.7
* close terminal (Not just the tab, all of it)
* dotnet should works
AAccord2/11/2023
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.