Nisthar
Nisthar

Reputation: 107

How to build a 64 bit application on 32 bit OS? [c#]

I have a application which implements Geckofx web browser control. I have 64 bit compiled geckofx.dlls(compiled from a 64 bit OS). But currently i don't have access to 64 bit OS and i want to compile the whole application with the 64bit geckofx.dlls targetting 64 bit OS. How can i do that from my 32 bit OS?

I need a good tutorial to do this. Do i need to download and install 64 bit compilers in my pc? if so, how? and how to check if i already have that compilers?

Upvotes: 3

Views: 1649

Answers (1)

Jcl
Jcl

Reputation: 28272

I don't think I've ever done this, but can't you just set the code generation ("platform target") as x64 in the project's "Build" configuration?

Or, in the command line: csc.exe /platform:x64?

As far as I know, the C# compiler (csc) is a 32bit application, it should be able to generate code for any supported platform

Upvotes: 5

Related Questions