Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can .Net 4.6 run on linux

Tags:

I am upgrading a web project from DotNet 4.6 to DotNetCore 2.0, and I intend to run this application on Linux. I would like to postpone upgrading some of the code to DotNetCore - such as referenced DLLs. I found that you can reference older DLLs in DotNetCore in this answer

Add .NETFramework 4.5 dll to .NETCore project.

But, I am guessing this will not allow me to run on Linux? Is that right? Is there any way around this?

like image 216
Danny Ellis Jr. Avatar asked Aug 04 '17 14:08

Danny Ellis Jr.


1 Answers

You possibly can run such DLLs on Linux if they don't contain any windows platform specific references (WinForm, WPF, WCF, XAML, COM):

  • https://www.youtube.com/watch?v=HyfDG4mjBPk
  • https://www.youtube.com/watch?v=fOzcVwzkGP0
like image 197
Juergen Gutsch Avatar answered Oct 11 '22 12:10

Juergen Gutsch