title: How to Force an assembly to run as x64 bit which was built against AnyCPU platform?
body: <p>I've an assembly which is built against "AnyCPU" platform on .NET 4.5.2
  But when i run the assembly on a 64 bit machine the dll is taking 32 bit form, 
  After researching a lot i came to know about this <a href="http://blogs.microsoft.co.il/sasha/2012/04/04/what-anycpu-really-means-as-of-net-45-and-visual-studio-11/" rel="nofollow">thing</a> that in .NET 4.5 and above "ANYCPU with 32BITPREF" is the defualt. 
  we can use corflags tools and set the flag to 32bitpref-, so that dll will take 64 bit.</p>
  
  <p>But my problem is that is has to happen from build script only so that no need to manually change it later.</p>
  
  <p>Like we specify for platform and release mode or debug mode
  
  </p>
  
  <p>Is there any property for 32bitpref- , such that it can set/reset from build script only??</p>
  
  <p>Thanks in advance for the help.</p>
  
  <p>Regards
  Prem</p>