You can see articles like : How to Build Cross-Platform .NET Core Apps
C# .NET Core Cross-Platform Desktop Application For Windows, Mac, & Linux
I'm new to using the C# language and .NET Core Framework. I normally used VB.NET with the .NET Framework and coding strictly for Windows Forms applications.
If I code in C# using the .NET Core, will I be able to build desktop applications that will be cross-platform to run on Windows, MAC, & Linux straight out of the box or will it still require a good amount of additional plugins or libraries?
Say that I export the application to an .exe file, will it be able to run immediately on Windows, MAC, & Linux in most scenarios?
2 answers
Sort by: Most helpful
-
-
Ivo Milanov 1 Reputation point
2022-08-31T13:54:34.997+00:00 If your code uses WinForms, regardless of whether it is written in .NET Core it is not cross-platform. That is because WinForm controls are internally bound to Windows specific UI elements, and the entire WinForms platform is designed to run only on Windows. To make cross-platform applications that run on Windows, Mac and inside the browser via Blazor-WebAssembly I can recommend that you take a look at this framework: https://www.nevron.com/products-open-vision.aspx.