Rajeshwar
Rajeshwar

Reputation: 11651

how to change the build parameter of `msbuild` command line

I currently clean my sln file using

Msbuild myproj.sln  /t:clean

and then build it using

Msbuild myproj.sln

Both the above work because my project is set for 32 bit.

My question is how can I incorporate 64bit into the above functions ?

Say I want to build 64 bit what should the command be then ? I know the following command simply picks up the one that is set as default in Visual studio

Msbuild myproj.sln

Upvotes: 0

Views: 306

Answers (1)

Christian Hagelid
Christian Hagelid

Reputation: 8355

MSBuild myproj.sln /p:Platform=x64

Upvotes: 1

Related Questions