Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
zig
General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
/ // This file was about 400 lines before we started adding these comments. // You might think that's way too much code to do something as simple // as finding a few library and executable paths. I agree. However, // Microsoft's own solution to this problem, called "vswhere", is a // mere EIGHT THOUSAND LINE PROGRAM, spread across 70 files, // that they posted to github unironically. // // I am not making this up: https://github.com/Microsoft/vswhere
As far as I now, this version is slightly outdated. The latest version that I'm aware of is version 2.
Why would you require Visual Studio for that? Visual Studio is required if you want the IDE or Microsoft's C++ toolchain. If you want to interface with the operating system itself you use the Windows SDK (or something like https://github.com/microsoft/win32metadata)