As usual, executing root\bin\thisroot.bat
sets the required environment variables. From inside Visual Studio, ROOTSYS
must be set to the proper ROOT location, then %ROOTSYS%\bin
must be added to the PATH
and PYTHONPATH
environment variables.