c# - How can I compile a .cs file into a .exe on a Mac? -
i'm reading "fundamentals of computer programming c#". using mac, of book (so far) geared toward windows users. instructions compiling cs .exe file involve using csc.exe compiler. says cd folder cs file , type:
csc filename.cs
it predicts cause error, does:
bash: csc: command not found
it says around error, should provide full path of compiler in terminal command, not work , receive same error. i've googled problem, no avail.
any suggestions appreciated.
update: whomever suggested mono, it. worked charm. thanks!
you can use cross platform .net core. https://www.microsoft.com/net/core#macos
Comments
Post a Comment