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

Aaron Esteban 1 Reputation point

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?

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,523 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Castorix31 82,501 Reputation points

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

  2. Ivo Milanov 1 Reputation point

    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