c# – .NET Framework update to new version – .NET 4 to .NET 4.8


I have a project running on .NET 4 and it only runs in Visual Studio 2010 web developer express.

I want to upgrade the project to .NET 4.8.

There are the steps I followed:

  1. Open the solution in VS 2022
  2. In properties of class lib and project, I choose .NET 4.8 and save it
  3. I updated the NuGet packages in NuGet package manager for each project in the solution
  4. Update all references of 4.0 to 4.8 in web.config
  5. Set starting project and add reference
  6. Change some code to solve ambiguity error; changing System.Data.EntityState to System.Data.Entity.EntityState like that
  7. Clean and Build
  8. IIS debugger

After all these steps, the project didn’t run.

It is showing an issue in Global.asax file in browser no request is happening just loading and white page

What should to do after this?

Did I do something wrong here? What else do I need to look into?

Leave a Reply

Your email address will not be published. Required fields are marked *