Deploy Entity Framework Core Migrations from a DLL

Posted · Add Comment

Entity Framework Migrations let you deploy incremental updates to a target database.  With Entity Framework Core (EF Core) this is done from the command line by going to the directory that contains your Entity Framework entity and migration code, compiling that code (dotnet build), and then calling “dotnet ef database update” to publish those changes […]

A Non-Terrible Workaround for the Dreaded EF Core Migration FileLoadException Diagnostics Problem

Posted · 1 Comment

In my Entity Framework Core Migrations walkthrough, I showed a workaround for an exception when you add a migration.  If you ran “dotnet ef migrations add” on a netcoreapp1.1 project, you’d get the following exception. System.IO.FileLoadException: Could not load file or assembly ‘System.Diagnostics.DiagnosticSource, Version=4.0.1.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51’. The located assembly’s manifest definition does not match the […]

TFS Build / Release Configuration Utilities: Edit app.config, web.config, appsettings.json, and XML

Posted · Add Comment

When you’re working automated builds and automated releases, you frequently need to edit configuration files like app.config, web.config, and appsettings.json. Well, I wrote a command line utility to do this and I figured I’d share.  I’ve got a version that is an .exe that can be used on a Windows build agent and I’ve got a version that’s written […]

“How do I update my TFS2017 build agents?”

Posted · Add Comment

I got a question recently asking how to make sure that your on-premise Team Foundation Server 2017 build agents are up to date.  If you’ve installed a bunch of build agents over time, you’ll notice that when you go to download the bits, that the version number sometimes changes.  They generally stay up to date […]

Top 3 Scrum People Skills Myths

Posted · Add Comment

As part of the on-going Scrum Myths series at Scrum.org, here are three myths related to people skills.  When I say people skills, I mean topics like emotional intelligence, emotional IQ, and person-to-person interactions. Myth #1: Scrum must be “huggy / feely” Word on the street is that Scrum has to be “huggy / feely”.  […]

Walkthrough: Entity Framework Core 1.1 with Migrations

Posted · 5 Comments

Here’s a walk-through on how to create a new solution that uses an ASP.NET Core project, an MSTest unit test project, and Entity Framework Core 1.1 (EFCore1.1).  I’m not sure if you’ve found this to be the case but I’ve been struggling with the documentation for a few days trying to figure out how to […]