C
C#10mo ago
yatta

❔ Cannot create a .net core application

I'm using vs2019 and somehow cannot create a .net core project. Can some one help me ?
15 Replies
SinFluxx
SinFluxx10mo ago
What type of app are you trying to make?
yatta
yatta10mo ago
just console app
SinFluxx
SinFluxx10mo ago
Clear the search, and select the relevant option from the project type dropdown, what do you see in the list then?
yatta
yatta10mo ago
the only console app I can make is .net framework
yatta
yatta10mo ago
ah and im using vs professional 2019 idk if it does anything
SinFluxx
SinFluxx10mo ago
in vs installer, on the Individual components tab what do you have enabled there?
Pobiega
Pobiega10mo ago
if you open up a terminal and do dotnet --info what does it say?
yatta
yatta10mo ago
i have these with .net
yatta
yatta10mo ago
Pobiega
Pobiega10mo ago
okay, so you dont have the modern dotnet cli installed at all thats why you cant make .NET applications, only framework you need to install the x64 .NET SDK https://dotnet.microsoft.com/en-us/download
yatta
yatta10mo ago
i see the installer does have it but it written out of support
Pobiega
Pobiega10mo ago
Any particular reason you are still on 2019 btw? 2022 has been out for a while
yatta
yatta10mo ago
i guess i'll go for a 2022 one then, i use 2019 to have a same platform with my coworker we all work on .net framework, .net core is just for my personal use
333fred
333fred10mo ago
This is one of the things you'll see on an old vs, it doesn't support net 5 or 6
Accord
Accord10mo ago
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.