I am working on project upgrade for the 1st time. I have a solution built upon 4.6 version of .NET framework. When I opened it very first time in VS 2022, I got a dialog box saying upgrade to 4.8 and I clicked OK on that. Now I can see that my application is running on 4.8.
- I am confused and curios to know about what all other things are I need to check to make sure my application is running on .NET 4.8 version.
- I can see that my .csproj file is updated automatically. .Csproj file contains the TargetFrameworkVersion updated to 4.8.
- I can see new package.config file is newly added to solution. It is containing all the package references.
- In web.config also contains the changes tag.
Do I need to check in all these 3 files in git or just .csproj file?
Thanks in advance.
.NET Framework 4.8 is the latest supported release. It installs with VS if the framework support option is selected. But you are not forced to upgrade your app. Just install .NET Framework 4.6 and continue to work.
If you already upgraded your app and don't want to come back to 4.6, you can synchronize your local files with git.