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:
- Open the solution in VS 2022
- In properties of class lib and project, I choose .NET 4.8 and save it
- I updated the NuGet packages in NuGet package manager for each project in the solution
- Update all references of 4.0 to 4.8 in
web.config - Set starting project and add reference
- Change some code to solve ambiguity error; changing
System.Data.EntityStatetoSystem.Data.Entity.EntityStatelike that - Clean and Build
- 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?