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 Files\dotnet\library-packs, Microsoft Visual Studio Offline Packages The tool package could not be restored.
Tool ‘specflow.plus.license’ failed to install. This failure may have been caused by:
You are attempting to install a preview release and did not use the –version option to specify the version.
A package by this name was found, but it was not a .NET tool.
The required NuGet feed cannot be accessed, perhaps because of an Internet connection problem.
You mistyped the name of the tool.
For more reasons, including package naming enforcement, visit https://aka.ms/failure-installing-tool
SharePoint Framework (SPFx) offers a flexible approach to building custom solutions for Microsoft SharePoint that leverage modern web development technologies.
Recently whilst deploying a SharePoint Framework (SPFx) solution into a SharePoint Online environment, I encountered intermittent caching issues and 404 failures. There was no clear pattern as to why the issues would occur. After staring at the code and pulling my hair out, I eventually came across a solution…
In this post, I’ll be sharing the solution that worked for me.
Azure Function Apps allow developers to build and deploy event-driven applications in the cloud. However, as with any software we can sometimes run into unusual issues, in particular, I recently ran into the below error when trying to deploy an Azure Function App through a GitHub Actions CICD pipeline.
If you have also encountered this issue, then you are in luck, because in this article we’ll explore the cause of this error and how I solved the issue.
“Internal Server Error (CODE: 500)”
“There is not enough space on the disk.”
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.
Possible reasons for this include:
* You misspelled a built-in dotnet command.
* You intended to execute a .NET program, but dotnet-ef does not exist.
* You intended to run a global tool, but a dotnet-prefixed executable with this name could not be found on the PATH.
If you have also encountered this error whilst using the Entity Framework commands via the dotnet CLI, then you’re in luck because I’ll be sharing the fix in this article.
The Azure Cognitive Services SDK is a set of pre-built services that enable developers to easily and quickly integrate AI capabilities into their applications. It provides a wide range of cognitive services including computer vision, language understanding, speech, and search APIs.
Recently whilst using the Azure Cognitive Services SDK recently, I encountered the below error while trying to consume the Cognitive Services Computer Vision API using the Dotnet SDK.
If you’ve also encountered the same error then you are in luck, because in this post I’ll share the solution that worked for me.
Operation returned an invalid status code ‘Unauthorized’
Recently I came across an unusual issue where Google Drive was continually getting stuck uploading files on my Android Samsung Galaxy S20 smartphone device.
In this article, I’ll share the solution that worked for me, plus other possible solutions.
Whilst working on a new Angular project I recently came across an unusual error when trying to build a new project generated through the Angular CLI.
In this post, I’ll explain how I resolved this issue.
> ng build
√ Browser application bundle generation complete.
An unhandled exception occurred: Transform failed with 1 error:
error: Invalid version: “15.2-15.3”
See “XXXXXX\angular-errors.log” for further details.
Recently I came across an unusual error whilst working with C# Azure Functions. When the Function was executed, the console window showed the following error.
The ‘XXXXXX’ function is in error: Microsoft.Azure.WebJobs.Host: Error indexing method ‘XXXXXX ‘. Microsoft.Azure.WebJobs.Host: Can’t bind parameter ‘data’ to type ‘XXXXXX’.
I checked the Activity function parameter bindings however couldn’t see any obvious issue. However after some head scratching I eventually figured out the source of the issue …
In this post I’ll show you how to resolve this issue.
While working on a Blazor WebAssembly solution that used Steve Sanderson’s BlazorInputFile solution I came across an unusual issue where the “No File Chosen” text would not change and the selected filename did not appear even though a file had already been selected.
Hmmmm … what’s going on here?
In this post I’ll show you how you can clone a Git repository using a Personal Access Token instead of a regular password.
Personal Access Tokens are useful in a variety of situations. I recently opted to use an access token on a work laptop rather than using my ‘god mode’ credentials. That way, if I needed to hand the laptop back to my employer I could easily revoke the access.
Enough talk … lets get to it!