1. VS project setting regards with platform
For native c++ project, there are debug | win32, debug | x64, release | win32, release | x64 configurations. Note:
"debug" / "release" can be renamed while "win32" / "x64" can't.
For .net project, the intended configurations should be debug | AnyCPU, debug | x64, release | AnyCPU, release | x64. AnyCPU matches win32 here.
More from MSDN about platform for C#:
備忘
x86 將程式集編譯為由相容 x86 的 32 位通用語言執行平台運行。
Itanium 將程式集編譯為由採用 Itanium 處理器的電腦上的 64 位元通用語言執行平台運行。
x64 將程式集編譯為由支援 AMD64 或 EM64T 指令集的電腦上的 64 位元通用語言執行平台運行。
anycpu(預設值)將程式集編譯為在任意平台上運行。
在 64 位元 Windows 作業系統上:
用 /platform:x86 編譯的程式集將在運行於 WOW64 下的 32 位 CLR 上執行。
用 /platform:anycpu 編譯的可執行檔將在 64 位元 CLR 上執行。
用 /platform:anycpu 編譯的 DLL 將在載入該進程的同一 CLR 上執行。
More about AnyCPU:
In .NET, the 'Platform Target: Any CPU' compiler option allows a .NET assembly to run as 64bit on a x64 machine, and 32bit on an x86 machine. It is also possible to force an assembly to run as x86 on an x64 machine using the 'Platform Target: x86' compiler option.
2. C# project setting tips
a. Decide your target framework. If it's targeted to dotNet 3.5, you can add references of .net assembly from 1.0 to 3.5.
b. By default, resx's design.cs contains a internal class for visiting its resource. It's NOT public.