Browse the archive

Category: Miscellaneous

Solved: Filename too long for Git

Problem Git is a powerful version control system, which has fast become the industry standard for developers around the world. Recently, whilst working with Git on the Windows OS I encountered the error Filename too long. In this post, I’ll delve into the root cause of this error and provide the solution that worked for […]
Read article

Solved: Build Errors Not Showing in VS 2022

Problem Recently whilst working on a C# solution in Visual Studio 2022, I encountered an unusual issue whereby VS would fail to build my project according to the build log, however, VS did not report any errors in the “Error List” panel. If you too have encountered the same error, then you are in luck, […]
Read article

How To: Configure VSCode to Trust Self-Signed Certs

Problem Recently whilst trying to enable GitHub CoPilot within VSCode in a corporate enterprise environment, I encountered the following warning when trying to authenticate with GitHub: [certificates] failed to read root certificates Often in a corporate enterprise IT environment, IT will install a self-signed root certificate, which all devices must trust before they can access […]
Read article

Solved: ‘Unable to find package specflow.plus.license’ error

Problem Whilst recently installing Specflow on a new Windows PC, I ran into an unexpected error after running the below command: dotnet tool install --global SpecFlow.Plus.License --version 3.9.7 This is the error I encountered whilst running the above command: C:\Users\XXXX\AppData\Local\Temp\cd1e38b3-c92a-436d-b439-f1535d848adc\restore.csproj : error NU1101: Unable to find package specflow.plus.license. No packages exist with this id in source(s): C:\Program […]
Read article

How To: Find Duplicate Lines Using Notepad++

Overview You may have come across situations where you need to identify duplicate lines contained in a text file. I recently had to do this within a large CSV data extract file. While there are several ways to do this, I was specifically looking for a way to do this using Notepad++, which I already […]
Read article

Solved: Dotnet EF CLI ‘Could not execute’ Error

Problem The ‘dotnet ef’ CLI command enables developers to work with Entity Framework Core (EF Core) database operations from the standard dotnet command line. Recently I came across the below error whilst trying to run the ‘dotnet ef’ CLI commands: $ dotnet ef Could not execute because the specified command or file was not found. […]
Read article

Quick Tip: VS Code Restore Previous File Version

Overview Have you ever found yourself in a situation where you’ve modified a local code file and needed to revert back to a previously saved local version that was not committed to your Git repo? If you’re a user of Visual Studio Code you’re in luck because I’ll show you how to do just that […]
Read article