Tag: tfs build

  • Deploy Entity Framework Core 2.0 Migrations from a DLL

    Deploy Entity Framework Core 2.0 Migrations from a DLL

    (UPDATE 7/5/2018: If you’re using EF Core 2.1, you’ll probably want to read the updated version of this post.) In a previous blog post, I discussed how difficult it is to deploy Entity Framework Core migrations from the compiled binaries of your project.  It’s still difficult to do.  You might be thinking, “well, why even […]

  • Force ‘dotnet publish’ to publish dependencies using PublishWithAspNetCoreTargetManifest

    Force ‘dotnet publish’ to publish dependencies using PublishWithAspNetCoreTargetManifest

    I ran into a problem today doing an automated build for a ASP.NET Core 2 project and then trying to deploy the output.  From the command line, I ran “dotnet publish -o c:\temp\presidents” to build and publish the code for my ASP.NET Core web application.  Then I went to the directory that I just published […]

  • Update: TFS2018 Install Guide v1.1

    Update: TFS2018 Install Guide v1.1

    I just pushed an update to my Team Foundation Server 2018 (TFS2018) install guide.  This update has a couple of new guides in it related to configuring build servers. Here’s the current list of chapters (chapters in italics are new): Install Windows Server 2016 Install SQL Server 2017 for TFS2018 Install Team Foundation Server 2018 […]

  • Howto: Install TFS2018 / VSTS Build Agent on Windows Server Core

    Howto: Install TFS2018 / VSTS Build Agent on Windows Server Core

    Here’s a guide to walk you through the process of creating a build server on Windows Server Core.  If you’re not already familiar with Windows Server Core, here’s a quick overview.  Think of it as Windows Server 2016 with all the extra, unnecessary stuff pulled out.  This means that it uses a lot less disk […]

  • Deploy to Azure from TFS using an Azure Resource Manager Service Endpoint

    Deploy to Azure from TFS using an Azure Resource Manager Service Endpoint

    [TL;DR — You need an Azure Resource Manager Service Endpoint and some values from Azure.  There’s a link to a PowerShell script at the bottom of this post that’ll help.  You’ll probably still need to read this blog post though.  Sorry.  I know.  Reading is hard.] Deploying from Visual Studio Team Services (VSTS) to Azure […]

  • New Pluralsight Course: DevOps Skills for Developers with Visual Studio and TFS 2017

    New Pluralsight Course: DevOps Skills for Developers with Visual Studio and TFS 2017

    My latest Pluralsight course just went live last night.  It’s been a long time coming and a ton of work.  I hope you all like it. DevOps Skills for Developers with Visual Studio & TFS 2017 There’s a huge divide between software that’s developed and software that’s delivered. DevOps helps you bridge that divide. It’s […]

  • Walkthrough: Use a Package from a Private NuGet Server in VS2017 & TFS2017 Build

    Walkthrough: Use a Package from a Private NuGet Server in VS2017 & TFS2017 Build

    In my last post, I showed you how to set up a private NuGet server in TFS2017 and publish a NuGet package to it from a build.  But how do you reference and use that package in another solution and/or another build?  Well, keep reading and you’ll find out. I’m going to do this in […]

  • Walkthrough: Publish to Private NuGet Server from TFS2017 Build

    Walkthrough: Publish to Private NuGet Server from TFS2017 Build

    NuGet is for package management is great.  Refer to some package from your Visual Studio projects and you can easily include those binaries in your project.  And if you’re got some library that you want to share with the world, you can publish a NuGet package and everyone can use your stuff. But what if […]

  • “DevOps with ASP.NET Core, EF Core, & TFS2017”: Slides & Code

    “DevOps with ASP.NET Core, EF Core, & TFS2017”: Slides & Code

    [Updated 3/23/2017 — If you saw this talk at DevBoston or Code Camp Boston, it’s the same slides and code at NYC .NET.] I spoke at the NYC .NET Developers user group last night and gave my new “DevOps with ASP.NET Core, EF Core, & TFS2017” talk. DevOps is all about software delivery.  Create an […]

  • Deploy Entity Framework Core Migrations from a DLL

    Deploy Entity Framework Core Migrations from a DLL

    [Updated 4/27/2018 — Added an EF Core 2 version of this script in a new blog post.] [Updated 3/29/2017 — Added a bash version of this script for deploying EF Core Migrations from Linux.] Entity Framework Migrations let you deploy incremental updates to a target database.  With Entity Framework Core (EF Core) this is done from […]