You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
823 B
38 lines
823 B
# ASP.NET Core (.NET Framework)
|
|
# Build and test ASP.NET Core projects targeting the full .NET Framework.
|
|
# Add steps that publish symbols, save build artifacts, and more:
|
|
# https://docs.microsoft.com/azure/devops/pipelines/languages/dotnet-core
|
|
|
|
trigger:
|
|
- main
|
|
|
|
pool: 'Default'
|
|
|
|
variables:
|
|
solution: '**/*.sln'
|
|
buildPlatform: 'Any CPU'
|
|
buildConfiguration: 'Release'
|
|
|
|
steps:
|
|
- task: UseDotNet@2
|
|
inputs:
|
|
packageType: 'sdk'
|
|
version: '5.0.x'
|
|
|
|
- task: NuGetToolInstaller@1
|
|
inputs:
|
|
versionSpec: ''
|
|
checkLatest: true
|
|
|
|
- task: NuGetCommand@2
|
|
inputs:
|
|
command: 'restore'
|
|
restoreSolution: '**/*.sln'
|
|
feedsToUse: 'config'
|
|
nugetConfigPath: './NuGet.config'
|
|
|
|
- task: VSBuild@1
|
|
inputs:
|
|
platform: '$(buildPlatform)'
|
|
solution: '$(solution)'
|
|
configuration: '$(buildConfiguration)'
|
|
|