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.

Developer technologies | Windows Presentation Foundation
Developer technologies | .NET | .NET Runtime
Developer technologies | .NET | Other
Developer technologies | Visual Studio | Other
{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.