C
C#•3y ago
Bujju

.NET 6.0 not showing up in Visual Studio [Answered]

I have .NET 6.0 installed, but it's not in the dropdown. How can I switch to .NET 6?
15 Replies
Bujju
BujjuOP•3y ago
undisputed world champions
there are separate project templates for .net framework and for .net core make sure you use a template that doesn't say ".net framework" 😉
Bujju
BujjuOP•3y ago
Thanks How can I update to C# v9? I saw somewhere that you need .NET v.6 or higher
reflectronic
reflectronic•3y ago
yes, that’s how you update to it—by not using .NET Framework. it comes for free
333fred
333fred•3y ago
If you create a .NET 6 project, you will get C# 10 by default
undisputed world champions
yeah c#9 is only supported since .net 5 which is end of life so .net 6 it is 😉
reflectronic
reflectronic•3y ago
how complicated is this project that you are trying to upgrade right now
Bujju
BujjuOP•3y ago
Not that complicated
reflectronic
reflectronic•3y ago
i mean if you want to avoid getting into the weeds then i would just make a new project with .NET 6 and copy the files over
Bujju
BujjuOP•3y ago
Okay I'll just do that, thanks It says the new project is in C# 7.3 I set the Framework version to 4.8 and it says .NET 6
333fred
333fred•3y ago
$newproject
MODiX
MODiX•3y ago
When creating a new project, prefer using .NET over .NET Framework, unless you have a very specific reason to be using .NET Framework. .NET Framework is now legacy code and only get security fix updates, it no longer gets new features and is not recommended. https://cdn.discordapp.com/attachments/569261465463160900/899381236617855016/unknown.png
Bujju
BujjuOP•3y ago
Thanks
Unknown User
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
Accord
Accord•3y ago
✅ This post has been marked as answered!
Want results from more Discord servers?
Add your server