Thread: c# compile target

  1. #1
    Registered User
    Join Date
    Aug 2015

    c# compile target


    I'm compiling a cs file sucessfully with csc. The target is winexe.

    My question is: my windows is 64 bits. Is the app compiled in 32 b, or must I add something more to the compilation?



  2. #2
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Without specifying /platform, the default is AnyCPU. So 64-bit is preferred, but 32-bit will be used when 64-bit is not available.
    My best code is written with the delete key.

  3. #3
    Registered User
    Join Date
    Aug 2015
    Thanks Great advise.
    I've used /platformx86

    Only one problem: I used dependecy walker to check it (to be sure it was 32 bits). Some libs are missing, even if the exe works. Any advise?

    Last edited by jkepler; 06-03-2017 at 07:08 AM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. HELP -Upload to Target FTP-
    By s0nicstr1fe in forum Networking/Device Communication
    Replies: 3
    Last Post: 09-06-2009, 09:52 AM
  2. Target Solver
    By P4R4N01D in forum C Programming
    Replies: 4
    Last Post: 01-14-2008, 05:49 PM
  3. memory/target help
    By GrtAndPwrflTrtl in forum C++ Programming
    Replies: 5
    Last Post: 12-12-2006, 01:24 PM
  4. &target
    By zp523444 in forum C Programming
    Replies: 2
    Last Post: 01-25-2006, 12:22 AM
  5. target OS compilers
    By DavidP in forum A Brief History of
    Replies: 7
    Last Post: 07-01-2002, 11:08 AM

Tags for this Thread