sq / JSIL

CIL to Javascript Compiler
http://jsil.org/
Other
1.73k stars 241 forks source link

How to Convert a CSharp Project to JavaScript on a Mac? #1057

Closed lancejpollard closed 3 years ago

lancejpollard commented 3 years ago

Hi there, I would like to convert this to JavaScript, but I am on a Mac and as far as I can tell this tool JSIL only works on Windows. Am I wrong about that? How can I convert a CSharp project like the linked one (with dozens of files and imports) on a Mac to JavaScript?

Thanks!

electricessence commented 3 years ago

Is there a specific reason? 3 suggestions:

  1. Don't.
  2. Migrate slowly using TypeScript.
  3. See if you can add on a Blazor app and then leverage the C# natively using Blazor/WebAssembly.
kg commented 3 years ago

JSIL is fully compatible with mono and the sandbox on the website is running on a Linux server. However, the project is unmaintained so I wouldn't advise using it.