Skip to content

yer.ac | Adventures of a developer, and other things.

  • About
  • Dev.to

yer.ac | Adventures of a developer, and other things.

Blog to keep track of things I am upto

Category: DevOps

Fixing “hostfxr.dll could not be found” within Windows Docker container (.NET installed from dotnet-install.ps1)

October 6, 2021 by yer.ac

This is here mostly for my own reference for next time I need to fix this, but may be useful to someone else. Installing .NET (5, Core, etc.) via the Microsoft Supplied “dotnet-install.ps1″(https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-install-script) installs the frameworks fine, but then running .net core code within that windows container would sometimes yield an error like The problem …

Continue Reading

Consuming a JSON file for automatic params in PowerShell

June 29, 2021 by yer.ac

More of a note for future me…. Typically in PowerShell when there is a requirement for reading an external file to set parameters, I would read in a file using the Get-Content and converting it to JSON, perhaps something like The problem with this is that if you have a particularly large or complex JSON …

Continue Reading

Moving local workspaces between users VS2019/TFS [Self Hosted/ Azure Devops]

March 11, 2021 by yer.ac

Whilst I use GIT for most my source control these days, I still have some projects in TFSVC. On a recent switch of Visual Studio accounts I temporarily lost access to my mapped workspaces as these are linked to the VS logged in user, rather than to the machine. This post will show migrating a …

Continue Reading

Using Docker Containers for easy local WordPress development🐳

June 17, 2020 by yer.ac

Creating WordPress development environment using Docker containers.

Continue Reading

Identifying Nuget package references which are using relative paths across whole solution

February 7, 2020 by yer.ac

Keeping up with a recent binge upgrading projects, including upgrading all my projects in a solution to 4.8, I have been upgrading nuget packages. Whilst this is a relatively simple task, what irks me is that when you add or upgrade a nuget package in Visual Studio, it will often change the package path to …

Continue Reading

Pragmatically upgrading .net framework version for all projects with PowerShell

June 16, 2021 by yer.ac

We had a situation where we needed to upgrade all the CSPROJ files in a solution to 4.8. The issue is that some of our solutions contain almost a hundred projects so a manual intervention would be prone to error. (plus we have multiple solutions to apply this against!) Whilst there are a number of …

Continue Reading

Ensuring “dotnet test” TRX & Coverage files end up in SonarQube

April 22, 2020 by yer.ac

I have written before about using SonarQube to do static analysis, but one issue I never came back to was ensuring that code coverage files generated via a build pipeline end up being picked up by the Sonar Scanner to assess code coverage. Note that the following I am actually using the ‘dotnet test’ build …

Continue Reading

Setting up a self-hosted build agent for Azure DevOps

July 31, 2019 by yer.ac

Azure DevOps has brilliant build pipeline options and as easy as it is to get set up with their hosted build agents, it can get quite costly rather quick. In this post I cover off setting up a self-hosted build agent for use with Azure. This post won’t cover setting up the build box, but …

Continue Reading

Recursive folder comparison with PowerShell

March 25, 2019 by yer.ac

The Issue This post definitely isn’t “new” or revolutionary, but I was quite surprised to find the Compare-object helper in PS, and I’m bound to forget in the future… As part of some recent roadmap work, we moved over to a new installer technology for some of our tooling. This came with some minor headaches …

Continue Reading

My attempt at using SonarQube for static code analysis

April 25, 2019 by yer.ac

This post covers my attempts to use SonarQube as a stand-alone install to perform static code analysis on a regular basis. This will cover purely getting the tool working, Maybe I will pick up how I can use the data in a later post? I will be doing this in a very narrow focus which …

Continue Reading

Dev.To Profile

Rich's DEV Profile

Tags

agile Azure AzureDevOps Azure Functions ContinuousImprovement Cosmos DB Cypress DevOps docker dotnet ES6 function-calling GPT Javascript Mocha NLOG Nuget openai podcast podgrab PowerShell python QNAP SCRUM SonarQube Testing TFS VisualStudio VSCODE VSTS wordpress
© 2025 yer.ac | Adventures of a developer, and other things. - Powered by Minimalisticky