Re:Visual Studio for Mac
by relyks on Wednesday May 10, 2017 @11:40AM
(#14309007)
Will this allow you to make cross-platform Windows Forms applications?
[ Parent
| on HN ]
Nope. Windows Forms is a UI technology tied to Windows itself.(It's implemented as wrapper over WndProc and Windows Common Controls.)
Windows Forms is not cross platform, and VS for Mac doesn't change this.
VS for Mac is intended to build cross platform web apps, console apps, and mobile apps with Xamarin.
So this Visual Studio for Mac is Xamarin studio repackaged as Visual Studio with tools and compiler/transpilers for .NET Core and the rest so you can do your usual stuff (in any other language) + apps on iOS/Mac/Android with C# with the Xamarin magic. Or ?
Windows Forms is implemented in Mono. It's… buggy, but it works.
Is that the version using winelib? I believe there is now native OSX support in wine in addition to x11drv. Could the Mono version be ported?
Re:Visual Studio for Mac
by hexxington on Wednesday May 10, 2017 @03:49PM
(#14311047)
No. The Winelib implementation fizzled over a decade ago. Mono's WinForms implementation is managed, invoking a cleanroom C libgdiplus.so/dlyib for GDI+ calls
No Windows Forms, No XAML Windows app, No Windows store apps. .Net Core might run on Mac, .Net Desktop certainly doesn't. Calling it Visual Studio is misleading.
Not Windows Forms, no. But it is pretty easy to make cross platform .Net apps using Xamarin Mac. Business logic can share code, though UI likely needs its own code for each platform.