question

Dmitriy-2994 avatar image
1 Vote"
Dmitriy-2994 asked Dmitriy-2994 edited

How to add the .NET framework 5.0 to Visual Studio 2019 Community?

I need to use the .NET framework 5.0 in my Visual Studio 2019 Community version. I followed the instructions mentioned here: "How can I add the Net framework 5.0 to Visual Studio Professional 2019" but I still cannot choose from the drop-down menu the .NET framework 5.0 for my project. Not only I restarted VS multiple times, I already uninstalled and installed it again, just to get the same result - .NET framework 5.0 is installed on my computer, but it's not showing up in the Visual Studio.



84235-net5-1.png84236-net5-2.png


dotnet-csharp
net5-1.png (33.5 KiB)
net5-2.png (32.9 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

vb2ae avatar image
2 Votes"
vb2ae answered Dmitriy-2994 edited

Create a .net core app if you want .net 5 as an option

84283-screenshot-2021-04-03-212037.png



· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

How do I get to this screen?
EDIT: O.K. so instead of the "WPF App (.Net Framework) I need to choose "WPF Application" which has a description "A project for creating a .Net Core WPF Application" and this option of selecting of .NET framework 5.0 is in there.

Thanks!

84272-net5-3.png


2 Votes 2 ·
net5-3.png (8.4 KiB)