I've tested creating ASP MVC 5 projects with the latest Visual Studio for Mac. So far some things don't seem to work 100%, like Razor Intellisense (I can live with that) and custom route settings.
I know that it isn't officially supported, but that doesn't mean that it doesn't work, otherwise the project template type wouldn't be there.
This tutorial shows how to develop a simple web service using Visual Studio for Mac. We’ll go through how to create and debug an ASP.NET Core web service using C#. Getting started with ASP.NET 5 and Visual Studio Code on a Mac. With setting up your.NET development environment on a Mac running Yosemite and show you how to build a Console and an ASP.NET MVC 6 call log application using Visual Studio Code and ASP.NET 5.
My question is:
Can I develop ASP MVC 5 web applications with Visual Studio Mac? Are there problems I will encounter, and if so, can I work around those? How do I deploy it?
I can't use ASP Core (yet) as I have the hosting I must use doesn't support it; only ASP.NET 4.6.
1 Answer
No. Applications written targeting the .NET Framework, which the non-.NET Core MVC is based, are not supported. The .NET Framework was built for Windows only. It does not run natively on a Mac.
Daniel A. WhiteDaniel A. White