下载地址:https://www.visualstudio.com/downloads/
1,安装.NET Framework 4.5.1
2,安装Microsoft Visual C++ Build Tools 2015
当前最新版本:Microsoft Visual C++ Build Tools 2015 Update 3
3,安装Microsoft Visual C++ 2015 Redistributable
编译使用注意:cl.exe /EHsc /D _DEBUG /MDd xx.cpp
使用/MDd选项编译源文件后,运行时需要 MSVCP140D.dll,VCRUNTIME140D.dll,ucrtbased.dll这三个DLL文件。
须将对应版本(x86,x64,arm)的ucrtbased.dll需要拷贝到目标文件(exe)的目录下才可以成功运行程序。
参看:
> Updated September 11, 2015: App-local deployment of the Universal CRT
> is supported. To obtain the binaries for app-local deployment,
> install the Windows Software Development Kit (SDK) for Windows 10.
> The binaries will be installed to C:\Program Files (x86)\Windows
> Kits\10\Redist\ucrt. You will need to copy all of the DLLs with your
1,安装.NET Framework 4.5.1
2,安装Microsoft Visual C++ Build Tools 2015
当前最新版本:Microsoft Visual C++ Build Tools 2015 Update 3
3,安装Microsoft Visual C++ 2015 Redistributable
编译使用注意:cl.exe /EHsc /D _DEBUG /MDd xx.cpp
使用/MDd选项编译源文件后,运行时需要 MSVCP140D.dll,VCRUNTIME140D.dll,ucrtbased.dll这三个DLL文件。
须将对应版本(x86,x64,arm)的ucrtbased.dll需要拷贝到目标文件(exe)的目录下才可以成功运行程序。
参看:
> Updated September 11, 2015: App-local deployment of the Universal CRT
> is supported. To obtain the binaries for app-local deployment,
> install the Windows Software Development Kit (SDK) for Windows 10.
> The binaries will be installed to C:\Program Files (x86)\Windows
> Kits\10\Redist\ucrt. You will need to copy all of the DLLs with your