Use ROOT in VS 2022

Trying to use ROOT with VS 2022.

ROOT works well from the command line outside VS.

Within VS, I used NuGet to install latest ROOT package (534.36.13).

Received this message “This ROOT package supports only Visual Studio 2012 or Visual Studio 2013.
Please make sure the platform toolset is set to the 2012 (v110) or 2013 (v120) toolset in the property General dialog.”

Have I made a mistake or is the NuGet package useable with VS 2022?


ROOT Version: [NuGet 534.36.13]
Platform: Windows
Compiler: Not Provided [ISO C++14 Standard]

Welcome to the ROOT Forum!
ROOT & NuGet is a very old project which was made with ROOT 5 by @gwatts (@Gordon_Watts). It doesn’t support the more recent versions of ROOT and Visual Studio, and AFAIK is not maintained anymore.
Cheers, Bertrand.

1 Like


Yes, unfortunately, that is the case. There is no reason a-priori one couldn’t re-run the builder with the newer versions of ROOT, but given how much has changed between 5 and 6 I would expect some effort would be required.