FRUT icon indicating copy to clipboard operation
FRUT copied to clipboard

Updates the detection of Visual Studio 2022

Open Xav83 opened this issue 8 months ago • 1 comments

Hi @McMartin,

I hope everything is going fine for you ! 🙂

I have created this Pull Request after experiencing the error message from Reprojucer.cmake, at the line 2294, on Azure Pipelines, last week, after they did update the version of Visual Studio Community used on their Visual Studio 2022 image.

After a little of debugging, I noticed that MSVC_VERSION variable is now over the version 1940.

I also found this article from Microsoft blog, named MSVC Toolset Minor Version Number 14.40 in VS 2022 v17.10, that specified that:

‘4x’ is a digit 40-49, where the ‘x’ value will continue to increase in future Visual Studio releases, starting with ‘40’ in VS 2022 v17.10.

With that information, I have created this Pull Request, so that everyone who want or have to switch to a newer version of Visual Studio will be able to enjoy FRUT. :wink:

If you need any more information, or tests to be done, feel free to ask. :slightly_smiling_face:

Xav83 avatar Jun 08 '24 16:06 Xav83