Hi I have a simple C# solution. It contains a single Exe project and 2 Dll projects.
All of the code is compiled to "AnyCPU". But when I debug it, it runs as 32 bit. How do I fix this?
I can change the solution to compile to x64, But I think it misses the point.
(Windows 7, 64 bit. Visual Studio 2012 ultimate)
Thanks
Right click your project in solution explorer.
Click properties.
Go to the build tab.
Ensure you have All configurations
and the Any CPU
platform name selected at the top of the properties page.
Ensure the platform target matches the selected platform name above, AnyCPU
(yes, these can get out of sync). Deselect Prefer 32-bit
.
Go.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.