My C# projects were all made using Visual Studio 2015. They run and open just fine with that version. Now I am experimenting with Visual Studio 2019 and when I tried to open a project a dialog box came up and said:
"Your project is targeting the .NET Framework 4.5.2 which is not installed on this machine. To proceed select an option below:
Change the target to .NET Framework 4.6.1. You can change back at a later time.
Download the targeting pack for .NET Framework 4.5.2. The project will not change.
So I don't know what to do. When I chose the Download the targeting pack... option it brought me to a page of SDK for Visual Studio. There are three listings under .NET/.NET Core. .NET 6.0, .NET 8.0, and .NET 9.0. Then there are a bunch of versions of the .NET Framework under .NET Framework. Here is what I was looking at:
I do not have the foggiest idea of what to click on or install or anything.
"Your project is targeting the .NET Framework 4.5.2 which is not installed on this machine. To proceed select an option below:
Change the target to .NET Framework 4.6.1. You can change back at a later time.
Download the targeting pack for .NET Framework 4.5.2. The project will not change.
So I don't know what to do. When I chose the Download the targeting pack... option it brought me to a page of SDK for Visual Studio. There are three listings under .NET/.NET Core. .NET 6.0, .NET 8.0, and .NET 9.0. Then there are a bunch of versions of the .NET Framework under .NET Framework. Here is what I was looking at:
.NET SDKs for Visual Studio
Find .NET SDKs for Visual Studio. Visit our main Downloads page for all .NET downloads, including Linux and macOS.
dotnet.microsoft.com
I do not have the foggiest idea of what to click on or install or anything.