@@ -14,13 +14,11 @@ pool:
1414
1515variables :
1616 solution : ' **/FolderIconPainter.sln'
17- testProject : ' **/*.UnitTests.csproj'
1817 UnitTestProject : ' **/FIP.UnitTests.csproj'
1918 buildPlatform : ' x64'
2019 buildConfiguration : ' Debug'
2120 appxPackageDir : ' $(Build.ArtifactStagingDirectory)\AppxPackages\\'
22- buildFolder : ' $(Build.SourcesDirectory)\bin\'
23-
21+
2422jobs :
2523- job : Build
2624 displayName : ' Build & Run Tests'
@@ -37,16 +35,16 @@ jobs:
3735 command : ' restore'
3836 restoreSolution : ' $(solution)'
3937
40- - task : VSBuild@1
38+ - task : DotNetCoreCLI@2
4139 displayName : ' Build Folder Icon Painter Package'
4240 inputs :
4341 command : ' publish'
4442 publishWebProjects : false
4543 projects : ' $(solution)'
4644 configuration : ' $(buildConfiguration)'
47- arguments : ' /p:AppxPackageDir="$(appxPackageDir)
45+ arguments : ' /p:AppxPackageDir="$(appxPackageDir)"
4846 /p:platform="$(buildPlatform)"
49- /p:configuration="$(buildConfiguration)"
47+ /p:configuration="$(buildConfiguration)"
5048 /p:PublishProfile="./FIP.Core/Properties/PublishProfiles/win-$(buildPlatform).pubxml"'
5149 zipAfterPublish : false
5250 modifyOutputPath : false
6866 inputs :
6967 testResultsFormat : VSTest
7068 testResultsFiles : ' **\*.trx'
71- searchFolder : ' $(Agent.TempDirectory)/UnitResults '
69+ searchFolder : ' $(Agent.TempDirectory)/UnitTestsResults '
7270 failTaskOnFailedTests : true
7371 testRunTitle : ' xUnit tests'
0 commit comments