Thread: What are the common C# makefile defines?

  1. #1
    Registered User awsdert's Avatar
    Join Date
    Jan 2015
    Posts
    1,733

    What are the common C# makefile defines?

    I'm trying to make sure I can compile C# on my manjaro install (for job hunting purposes) and I would like to know what are the common defines used, for example C uses CC for the compiler, C++ CXX for the compiler, I'm assuming CS would be the equivalent for the C# compiler, it's those sort of variables I'm looking for as I'm just gonna pass them into lua for my build scripts. Also could someone point me in the right direction for installing the c# packages via mono, I don't want to rely on what comes with vscode as I hate that ide, very inconvenient when it comes to compiling custom targets, with geany I can just launch a prompt with the hotkey I set but vscode doesn't even give that option, let alone the ability to set a custom hotkey

  2. #2
    Registered User
    Join Date
    Sep 2020
    Posts
    150
    Have a look at the answers there.
    Why you don't want to use an IDE like MonoDevelop.
    MonoDevelop | MonoDevelop

    Why don't you use .NET Core? It runs on Windows, Mac and Linux. I am not sure if this is true for Mono.

  3. #3
    Registered User awsdert's Avatar
    Join Date
    Jan 2015
    Posts
    1,733
    Quote Originally Posted by thmm View Post
    Have a look at the answers there.
    Why you don't want to use an IDE like MonoDevelop.
    MonoDevelop | MonoDevelop

    Why don't you use .NET Core? It runs on Windows, Mac and Linux. I am not sure if this is true for Mono.
    I'm using mono because that's supposed to be the defacto standard on linux, also because it has unsupported stuff it's easier to program for both if I use it as primary.
    As for IDE, I find IDEs get in my way instead of helping, every time I try one I always go back to geany & makefiles, nothing else has covered my wants as well as those 2, well I'm now using lua for the build script because makefiles are only good for targets & switching directories prior to running the build script, one can expect make to be installed already & lua to either already be installed or installable without issues, as for the filesystem via lua, I just install lua-filesystem, I don't expect that to have issues installing on various systems either, even if I didn't I can think of a way to utilise os.open & make to get ahold of the needed directories & files anyways

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 4
    Last Post: 04-15-2014, 07:57 PM
  2. Header Defines
    By phantomotap in forum Tech Board
    Replies: 2
    Last Post: 06-25-2013, 10:07 PM
  3. defines in do ... while
    By gmrobert in forum C Programming
    Replies: 2
    Last Post: 08-30-2007, 10:01 AM
  4. Defines and Comments
    By Quantrizi in forum C++ Programming
    Replies: 2
    Last Post: 12-29-2002, 12:31 AM
  5. multiline defines...
    By doubleanti in forum A Brief History of Cprogramming.com
    Replies: 0
    Last Post: 12-15-2001, 01:42 AM

Tags for this Thread