Visual Studio 2017创建的各类C#解决方案能否在Visual Studio for Mac打开?
Hey there! Great question—let's break down the compatibility for the project types you're asking about, since support varies a lot based on the framework each project uses (especially for VS 2017-era solutions):
Project-by-Project Breakdown
Console Applications
- .NET Framework Console Projects: These are hit-or-miss. You can usually open the solution in VS Mac to view/edit code, but building and running will likely throw errors—VS Mac focuses primarily on cross-platform .NET (Core/5+) these days, so older .NET Framework support is limited.
- .NET Core Console Projects: If your console app targets .NET Core 1.x/2.x (which was available in VS 2017), these work seamlessly in VS Mac. You can open, edit, build, and run them without major issues, as .NET Core was built for cross-platform use.
Windows Forms (WinForms)
WinForms is a Windows-only UI framework, so Visual Studio for Mac does not support WinForms projects at all. You won't be able to open the designer, and attempting to build/run the project will fail. These are strictly tied to Windows.
WPF
Same as WinForms: WPF is exclusive to Windows. VS Mac has no tooling, designer, or runtime support for WPF projects—you can't open or work with these in VS Mac.
MVC Projects
This depends on which flavor of MVC you're using:
- ASP.NET MVC (.NET Framework): You can open the solution to edit code files, but don't expect full functionality. Building and running might require workarounds, and there's no built-in support for MVC-specific features like the view designer. It's partial support at best.
- ASP.NET Core MVC: These work perfectly in VS Mac. ASP.NET Core was designed to be cross-platform, so VS 2017-era Core MVC projects can be opened, edited, built, and run without any major hurdles.
Quick Compatibility Cheat Sheet
To make it easy to reference:
- ✅ Fully supported: .NET Core Console, ASP.NET Core MVC
- ⚠️ Partial support (code editing only): .NET Framework Console, ASP.NET MVC (.NET Framework)
- ❌ No support: WinForms, WPF
内容的提问来源于stack exchange,提问作者Başar Kaya

