Configuration Manager doesn't save platform settings

  • Thread starter Thread starter garyflet0
  • Start date Start date
G

garyflet0

Guest
I'm using Visual Studio 2015 on my 64 bit computer to program Visual C++ projects. Lately I've noticed that if I want to open the 64 bit version of my project (whether debug or release) that the configuration manager doesn't preserve the platform setting and has me on 32 bit. So, for example, if I try to run the 64 bit program with the debugger, it won't do it because it can't find the 32 bit debug version. I have to go over to the Configuration Manager, see that in the Platform column it has "Win32" and change it to "x64". Then I can run the program under the debugger. But if I close the project and open it again, and open the Configuration Manager, the setting has gone back to "Win32" and I have to change it again. How do I make it so that the Platform is x64 for 64 bit projects and Win32 for 32 bit projects? Here's what's in the vcxproj file for the project:

<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>

Continue reading...
 
Back
Top