作为Visual Studio安装程序是新从Visual Studio 2017年的版本,我不能位于Visual C++的组成部分,说明这里.
我如何进入vsvars32.batVS2017?
我在性能测试期间遇到了这个问题.
使用x86平台标志编译C#控制台应用程序时,未设置Large Address Aware标志:
dumpbin/headers app.exe的输出:
Dump of file app.exe
PE signature found
File Type: EXECUTABLE IMAGE
FILE HEADER VALUES
14C machine (x86)
3 number of sections
569F0089 time date stamp Tue Jan 19 21:35:37 2016
0 file pointer to symbol table
0 number of symbols
E0 size of optional header
102 characteristics
Executable
32 bit word machine
Run Code Online (Sandbox Code Playgroud)
将标志设置为"Any Cpu"时,生成的exe是Large Address Aware:
Dump of file app.exe
PE signature found
File Type: EXECUTABLE IMAGE
FILE HEADER VALUES
14C machine (x86)
3 …Run Code Online (Sandbox Code Playgroud)