I have made an ASP.NET Core web application, using .NET 6.0. However, when I obtained a hosting server, I learnt that my hosting provider has installed .NET 5.0. As a result, I now have to downgrade my project from .NET 6.0 to a previous version. However, I am facing issues while doing so. When I try to build the project, I run into errors, due to which I have to change syntaxes in system-generated files, such as
Startup.cs. Then, I also face trouble updating the NuGet packages and once done, I run into errors while trying to run the
Update-Database command. I would like to know the required steps to downgrade my project, in a slightly detailed manner, since I am an amateur in using .NET Core. My project is a Razor pages project and has Identity installed, with a few modifications, such as additional fields. How should I proceed? Thanks in advance.