I created a C++ console application using the template in Visual Studio 2019.
#include <iostream>
int main()
{
std::cout << "Hello World!\n";
}
When I copy the .exe to the server then
- debug x64 build gives error (VCRUNTIME140_1d.dll missing)
- release x64 build works
Server is: Windows Server 2012 R2 Standard, 64bit
Reading this question / answer says that debug DLLs are not allowed to be redistributed.
I need to debug on the server and I have paid for all licenses.
What do I need to install to get debug build running on server?, e.g. full Visual Studio, Windows SDK, vc_redist.x64.exe?
When I compare the installed programs on my development machine and on the server: Windows SDK is not installed on the server.