PGFPlotsX in Visual Studio

Hi,

I’m trying to plot using Plots.jl with PGFPlotsX.jl as a backend in Visual Studio.
I have this error message:
No LaTeX installation found, figures will not be generated. Make sure either pdflatex or lualatex are installed and that the PATH variable is correctly set.

How do I set the PATH?

I do have latex installed. Furthermore, I can plot using PGFPlotsX using Juno (Atom) and using Jupyter Notebooks. It is only in Visual Studio when the plot fails.

Thank you.

Best,

Carlos