C# .NET Core Cross-Platform Desktop Application For Windows, Mac, & Linux

Aaron Esteban 1 Reputation point
2021-09-16T15:30:43.527+00:00

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?

C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,648 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Castorix31 83,206 Reputation points
    2021-09-16T15:37:30.453+00:00

    You can see articles like : How to Build Cross-Platform .NET Core Apps


  2. 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.

    0 comments No comments