Note that you need the right version of Visual Studio for the version of 3ds Max that you target, because of the tight reliance of 3ds Max on the particular Visual Studio version ABI.