Visual studio 2019: not showing Target framework .net 5 while migrating a class library from .net framework 4.7.2

Sri 1 Reputation point
2021-01-11T22:15:41.93+00:00

Hi There,

We have class library project on .netframework 4.7.2 , now want to port this class library project .net 5( basically targeting .net core)

We opened class library project in 2019 and migrated package.config to package reference , after migration i dont see packagereference. Right clicking on project -- then--> properties -- > application : now when I am trying to change target framework to.net5 I am not seeing it.

I have installed visual studio 2019 The .NET Desktop Runtime also includes the .NET Runtime and visual studio

Please help us resolving this.

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,841 questions
Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,770 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,107 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,159 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.