This article explains our solution to a very particular use case. We needed to go through .csproj files, find certain dependencies from them, and then figure out their versions. And all of this needed to happen in an Azure DevOps pipeline. But when would this be helpful? Well, hear me…Continue reading How to find out dependency versions in your .csproj files using PowerShell?
This article expands on my earlier article on automatically figuring out versioning in an Azure DevOps Pipeline. In the other article, you’d add Major and Minor versions as variables, and Patch (the last part of an x.y.z version scheme) would be incremented automatically. In this one, I’m describing how to…Continue reading Automatically get version number from project dependencies in Azure DevOps
It took me something like 10 years of struggling to get remote triggers to finally fire in Azure DevOps, and in this article, I’ll share how I finally got the remote repository trigger to work for an actual Team Project in real production use (and that’s a first!) 😃 Okay,…Continue reading Working YAML sample of a remote repository CI trigger in Azure DevOps
In Azure DevOps, you sometimes have a project that’s being built with a certain .NET version. It’ll require that particular SDK version, and most typically that is defined in the global.json file. However, if you also need to install a certain .NET tool, running dotnet tool install MyBuildTool will fail.…Continue reading How to avoid global.json version conflicts in Azure DevOps
This article explains a solution to a rather annoying issue, where certificate validation for builds trying to fetch NuGet packages published by Microsoft fails when using .NET 5. This happens at least with Docker build when you’re relying on some Microsoft-provided images… But probably also in a lot of other…Continue reading How to fix NU3028 and NU3037 errors in Azure DevOps builds?