Last post Aug 10, 2020 08:29 AM by Mikesdotnetting
Aug 08, 2020 05:06 PM|dow7|LINK
How to open / run old razor webpages using visual studio on mac?
Aug 10, 2020 08:16 AM|Sean Fang|LINK
It depends on what kind of the "old" razor webpage it is. I think the "razor webpages" here is
If you have an old razor page project, you might need to import the necessary modules with compatible ASP.NET Core framework.
From the worst condition, if you only have one/few cshtml file(s) with code behind, you might need to add other necessary files/folders:
The easiest way would be creating a new razor page project and
add this razor page into the project. You could refer to this:
Create Razor web apps
Hope this can help you.
Aug 10, 2020 08:29 AM|Mikesdotnetting|LINK
The old ASP.NET Web Pages framework is dependent on the full .NET framework, which is not compatible with Unix or Mac OS. The only way to run a Web Pages app on a Mac is in a virtual machine running Windows.