Welcome to the navigation

Fugiat et ullamco incididunt reprehenderit exercitation eu ut velit sint ipsum officia consequat, dolore cupidatat aliqua, non nostrud pariatur, est aliquip aute labore proident, nisi. Sunt aliqua, amet, irure pariatur, reprehenderit est lorem elit, ullamco ipsum ut fugiat in excepteur aliquip in occaecat do consectetur quis sit duis minim officia

Yeah, this will be replaced... But please enjoy the search!

YAML to build .NET Core 3 on Azure DevOps

YAML is here, like it or not. And when writing this article there was no default template to build .NET CORE 3 apps on Azure DevOps so I made one.

# Eric Herlitz
# www.herlitz.nu

pool:
  vmImage: 'ubuntu-latest'

variables:
  buildConfiguration: 'Release'
  solution: '**/*.sln'
  projects: '**/*.csproj'
  nugetVersion: '5.2.0' # https://dist.nuget.org/tools.json

steps:
- task: UseDotNet@2
  displayName: 'Use dotnet sdk 3.x'
  inputs:
    version: 3.x
    includePreviewVersions: true

- task: NuGetToolInstaller@1
  inputs:
    versionSpec: $(nugetVersion) 
    checkLatest: true

- task: NuGetCommand@2
  inputs:
    command: 'restore'
    restoreSolution: $(solution)
    feedsToUse: 'select'

- task: DotNetCoreCLI@2
  displayName: Build
  inputs:
    command: build
    projects: $(projects)
    arguments: '--configuration $(buildConfiguration)' 


Cheers