joelspadin / pyvswhere

Python interface to Microsoft's Visual Studio locator tool, vswhere
MIT License
10 stars 2 forks source link

Leaving out VS Build Tools #3

Open hokiedsp opened 4 years ago

hokiedsp commented 4 years ago

Hey, thanks for a very useful tool! Just a quick heads-up.

I'm using it to detect MSVC 2019 Build Tools and your default get_latest*() functions won't detect it (by MS's design, see here)

It works fine by calling find_first(latest=True, products=['*']) though.

joelspadin commented 4 years ago

In 286cab0cefa07409986aa4306c26f38933df3729 (version 1.3.0) I made it so you can pass arguments like products to the get_latest*() functions. Let me know if that's any easier to use.