We have a new requirement for our current ASP.NET MVC 5 web application to be deployed as a normal IIS hosted ASP.NET MVC web application and also as a new .Net Core MVC application.
We would like to use the same codebase to avoid having to maintain two separate sets of source files via source control, linking, or sharing methods.
Is it possible to have a project support both frameworks as well as build/deployment types? Converting it to use the new .Net Core project type would be possible if that provides the functionality we need. We have seen some examples of switching .json config files but would like to know if there is a better option.
Again, we are trying to avoid having two separate sets of source code to maintain.
Thank you.