This repository houses a tiny C# tool for fetching the version of latest daily build of Microsoft.Net.Compilers.Toolset
and printing it to the console and (on Windows) copying it to the clipboard.
This program doesn't exactly embody best practices, I mainly created it to solve a very specific need and as an excuse to explore C# 9 features (which were still in preview at the time.)
Building requires .NET 6 and can be built by simply using dotnet build
or Visual Studio 2022.
I was sick of checking the Azure DevOps page. (Also checking from Visual Studio just locks things up.)
I plead the fifth. (Also I tend to write a lot more Win32 interop code than I do web stuff, so it was out of habit.)
Yup. Gotta love "handing" errors via return codes.
Not a question, but also...Sorry 😬
If there's a succinct way to traverse the Json documents here, I wouldn't mind hearing about them!
Yup, but it won't copy the latest version to the clipboard.
Please don't! It was written very lazily. It does not handle certain situations gracefully or at all. (The reason I made it print the days since the package was published was so I'll notice if Azure DevOps ever starts ordering the results in a different way.)