.NET Frameworks on Linux ?
Hello,
I hope the question is on topic here; although it's definitely beginner questions, I could not find any resource/answer to these questions.
tl;dr there's a Questions subsection
Context
I'm trying to learn C# (I'm "intermediate" as far as programming in general goes, and mostly come from a C/C++ background)
Issue
-
I know .NET Core exists. and I was able to compile and run a .NET Core app on my linux machine without issue.
-
I'd like to be able to compile and run .NET Framework applications, using Mono project to run the produced .exe files.
-
I know Mono work (thanks to the "hello world" test case mono website provides
-
Of course when trying to compile this project in VSCode under Linux, I get the same error message as the one in this SO question which basically boils down to
The reference assemblies for framework ".NETFramework,Version=v4.6.1" were not found -
The reason I want to use .NET Framework here is that I was told that $NEXT_JOB will probably use this framework and not .NET Core; in the small example app I'm working on right now, I wanted clipboard manipulation and discovered that this kind of things are only available in .NET Framework for example
Questions
-
Is it at all possible to compile code for .NET Framework on Linux natively ? If not, is the only solution to use WINE ?
-
Is there a list somewhere of the differences between Framework and Core ? For example, have I any chance of compiling a WPF/WinForms app on Linux ?
-
I know MacOS got full size Visual Studio. Is it possible to compile using .NET Framework on macOS then ?
Maybe related info ?
I run Fedora rawhide (to be 30 soon-ish), using mono-complete 5.18.0.240-0.xamarin.2.epel7, and I can make .NET Core work thanks to packages including 2.1 and 2.2 SDKs
Thank you for taking the time to read this, and potential answers :)
0 comments:
Post a Comment