Difference between x64 Native Tools Command Prompt and Developer Command Prompt

What is the difference between Developer Command Prompt and x64 Native Tools Command Prompt of Visual Studio in 64bit Windows?

The important environment variables set in x64 Native Tools Command Prompt are

  • is_x64_arch=true
  • LIB=C:\Microsoft Visual Studio\…..\lib\x64
  • LIBPATH=C:\Microsoft Visual Studio\…..\lib\x64
  • Path=C:\Microsoft Visual Studio\…\bin\HostX64\x64
  • Platform=x64
  • PROCESSOR_ARCHITECTURE=AMD64
  • VSCMD_ARG_HOST_ARCH=x64
  • VSCMD_ARG_TGT_ARCH=x64
  • __DOTNET_ADD_64BIT=1
  • __DOTNET_PREFERRED_BITNESS=64

 

The following important environment variables are set in Developer Command Prompt:

  • LIB=C:\Microsoft Visual\…\lib\x86
  • LIBPATH=C:\Microsoft Visual\…\lib\x86
  • Path=C:\Microsoft Visual\…\bin\HostX86\x86
  • PROCESSOR_ARCHITECTURE=AMD64
  • VSCMD_ARG_HOST_ARCH=x86
  • VSCMD_ARG_TGT_ARCH=x86
  • WindowsSDK_ExecutablePath_x64=C:\Program Files (x86)….\ Tools\x64\
  • WindowsSDK_ExecutablePath_x86=C:\Program Files (x86)….\ Tools\
  • __DOTNET_ADD_32BIT=1
  • __DOTNET_PREFERRED_BITNESS=32

So Developer Command Prompt is supposed to build a program that is hosted on x86 machine that will generate 32bit binaries, while x64 Native Tools Command Prompt is supposed to build a program that is hosted on x64 machine that will generate 64bit binaries.

Did you like this?
Tip admin with Cryptocurrency

Donate Bitcoin to admin

Scan to Donate Bitcoin to admin
Scan the QR code or copy the address below into your wallet to send some bitcoin:

Donate Bitcoin Cash to admin

Scan to Donate Bitcoin Cash to admin
Scan the QR code or copy the address below into your wallet to send bitcoin:

Donate Ethereum to admin

Scan to Donate Ethereum to admin
Scan the QR code or copy the address below into your wallet to send some Ether:

Donate Litecoin to admin

Scan to Donate Litecoin to admin
Scan the QR code or copy the address below into your wallet to send some Litecoin:

Donate Monero to admin

Scan to Donate Monero to admin
Scan the QR code or copy the address below into your wallet to send some Monero:

Donate ZCash to admin

Scan to Donate ZCash to admin
Scan the QR code or copy the address below into your wallet to send some ZCash:

Leave a Reply