skip to Main Content

I’m having some projects that have target of .NET framework 4.6.2.

Now I want switching my desktop’s OS to Ubuntu. So are there any way to work with my projects on ubuntu from coding to debug, release,…About my project target framework

2

Answers


  1. No.

    .NET Framework is Windows only.

    You might be able to get something working with WINE, but you will have another source of errors to cope with.

    If you want cross platform you’re going to need to port from Framework to Core.

    Login or Signup to reply.
  2. It depends what kind of project you are working on.
    If it is a Console or Windows Forms project, you can simply install Mono:

    sudo apt-get install mono-complete
    

    Compile apps using gmcs, for example gmcs Program.cs
    Run app using mono, for example mono Program.exe

    This is basically the open source version of the .NET Framework.

    If your project is a WPF project, you could take a look at AvaloniaUI .
    But in that case you will have to convert your project to .NET6/7/8

    And of course you’ll probably want a good IDE like Visual Studio Code

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search