Quantcast
Channel: MSBuild forum
Viewing all articles
Browse latest Browse all 2763

Rebuild VS 2012 Solution using Devenv.exe for Release (x86 , x64).

$
0
0

Hi,

I want to rebuild my VS 2012 solution (vs2012projs.sln) for build configurationreleasex86 and x64 from command line using devenv.exe.

Solution vs2012projs.sln is a single solution which contains multiple VS2012 projects. By rebuilding this single solution, I want to rebuild all those projects.

Problem is, AFAIK,  /rebuild switch of devenv.exedoes not accept build configuration(x86/x64 or Win32 etc) input in command line.

If I add it like "release|x86", syntax error is displayed at"|x86"

Given only release switch, it some times rebuilds for x64 and sometimes for x86. I have observed that this behaviorchanges if we change active solution configuration of main solutionvs2012projs.sln. I may be wrong as well. 

I want help in Rebuilding for both x86&x64 configuration from command line.

I appreciate your help in advance.

Thanks.

AshK


Viewing all articles
Browse latest Browse all 2763

Trending Articles