Skip to content

Commit ac50e1c

Browse files
Refactor build process to use VSBuild and add global.json for test runner configuration
1 parent 5bb1786 commit ac50e1c

2 files changed

Lines changed: 8 additions & 4 deletions

File tree

.pipelines/master/pipeline.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,11 @@ stages:
4242
feedsToUse: 'config'
4343
nugetConfigPath: 'NuGet.config'
4444

45-
- task: DotNetCoreCLI@2
45+
- task: VSBuild@1
4646
displayName: Build
4747
inputs:
48-
command: 'build'
49-
projects: '$(targetProjectFilter)'
50-
arguments: '--configuration $(buildConfiguration) --no-restore'
48+
solution: '**\*.sln'
49+
configuration: '$(buildConfiguration)'
5150

5251
- task: PowerShell@2
5352
displayName: Test

global.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"test": {
3+
"runner": "Microsoft.Testing.Platform"
4+
}
5+
}

0 commit comments

Comments
 (0)