-
TFS Build / Release Configuration Utilities: Edit app.config, web.config, appsettings.json, and XML
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…
-
Walkthrough: Entity Framework Core 1.1 with Migrations
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…
-
Script: Create new ASP.NET Core Project with Class Library & Tests
Building on my post about how to do some common Solution and Project tasks using the dotnet command, here’s a sample script to create a complete solution that can be used from Visual Studio 2017 or Visual Studio Code. I wanted to be able to create a complete solution and project structure all from the…
-
Cheat Sheet: Use dotnet.exe to Create New Solutions, Projects, & References
I’ve been playing with .NET Core a lot lately and I’ve been trying to stick to the command line and Visual Studio Code as much as possible so that I can really learn what’s going on so I can (eventually) do cross-platform devops-y things. This means that I’m spending a lot of time with dotnet.exe…which…