Reputation: 576
I would like to start making my application's 64bit, however, I am not sure on the changes I should make on my sln and vsproj files. What changes should I make to my sln and vsproj to make them 64bit?
On the same note, are there changes to the default sln or project file that are good for game development? I am using Visual Studio 2010.
Upvotes: 2
Views: 267
Reputation: 16826
To add to what was said before, make sure you understand why you need 64-bit support. In most cases you won't need access to larger memory allocations. Also, be aware that there will be x86/x64 P/Invoke compatibility problems (if you plan on using third-party unmanaged assemblies - in case you are working with managed C++).
For more information, read what Scott Hanselman has to say about this. Also, just as a sidenote, I would recommend reading this blog post that explains some of the migration ideas.
Upvotes: 1
Reputation: 100748
From the VS menu select Build
|Configuration Manager
.
On the Configuration Manager dialog, open the Platform
drop down and select <New...>
.
On the New Project Platform dialog select x64
as your platform and click Ok.
Upvotes: 4
Reputation: 16286
you need to add x64 solution platform
:
Build -> Configuration Manager -> Active Solution Platform -> New -> New platform = x64
if you don't see "x64" make sure you installed it in Visual Studio installer
then just select "x64" as active solution platform
and build
Upvotes: 0