Question

I am using VS2013 Express. I have my project setup to build in 32 or 64 bit, but I would like to get the .exe file when built, to include _32 or _64 depending on which platform I build for.

Not having any luck in the project properties.

Était-ce utile?

La solution

Place the following into your post-build box in the "Build Events" section of the project's properties:

copy /Y "$(TargetDir)$(TargetFileName)" "$(TargetName)_$(PlatformName)$(TargetExt)"

enter image description here

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top