Skip to content

Category: Troubleshooting

Solved: Standalone React Project – The directory {directory} contains files that could conflict.

I recently came across this tutorial on the new standalone javascript projects in Visual Studio 2022 via this blog post courtesy of Scott Hanselman. I was excited with the prospect of having standalone javascript projects inside of Visual Studio. Unfortunately I couldn’t move past the first step of creating the project as I was getting…

Solved: NETSDK1045: The current .NET SDK does not support targeting .NET Core 3.1.

I recently started working on a new project with .NET Core 3.1 using Azure DevOps as my CI/CD pipeline. I was using an on premise build agent (not hosted) with Visual Studio 2019 and teh .Net Core 3.1 SDK installed on it. I started getting the following error in the Nuget Restore step when attempting…

Solved: Cannot create container for service traefik: invalid volume specification: ‘/var/run/docker.sock:/var/run/docker.sock:ro’

I’ve been exploring Docker containers and using Traefik as a reverse proxy. I was trying to get the Docker example from https://docs.traefik.io/user-guides/docker-compose/basic-example/ to work with Windows Containers. When I tried to start the containers with the example, Docker returned the following error: ERROR: for traefik Cannot create container for service traefik: invalid volume specification: ‘/var/run/docker.sock:/var/run/docker.sock:ro’…

Solved: “This version of Microsoft.AspNetCore.App is only compatible with the netcoreapp2.1 target framework. Please target netcoreapp2.1 or choose a version of Microsoft.AspNetCore.App compatible with netcoreapp2.2.”

I’ve been working on a project using .Net Core 2.2. During the course of development I needed to add an SQL Database project to the solution. Everything was building correctly on my local machin, however, the build started failing when I committed and pushed to Azure Devops. The initial issue was that the SQL Database…