File tree Expand file tree Collapse file tree 1 file changed +19
-12
lines changed
Expand file tree Collapse file tree 1 file changed +19
-12
lines changed Original file line number Diff line number Diff line change @@ -10,24 +10,31 @@ pool:
1010 vmImage : ' windows-latest'
1111
1212variables :
13- solution : ' ** /*.sln '
13+ project : ' SoftU2FDaemon /*.csproj '
1414 buildConfiguration : ' Release'
1515
1616steps :
17- - task : NuGetToolInstaller@0
17+ - task : DotNetCoreInstaller@0
18+ inputs :
19+ version : ' v3.0.0-preview6' # replace this value with the version that you need for your project
1820
19- - task : NuGetCommand @2
21+ - task : DotNetCoreCLI @2
2022 inputs :
21- restoreSolution : ' $(solution)'
23+ command : restore
24+ projects : $(project)
25+ feedsToUse : config
2226
23- - task : VSBuild@1
27+ - task : DotNetCoreCLI@2
28+ displayName : Publish win10-x64
2429 inputs :
25- solution : ' $(solution) '
26- platform : ' x86 '
27- configuration : ' $(buildConfiguration) '
30+ command : publish
31+ projects : $(project)
32+ arguments : ' --configuration Release -r win10-x64 --output $(Build.ArtifactStagingDirectory)/win10-x64 ' # Update this to match your need
2833
29- - task : VSBuild@1
34+ - task : DotNetCoreCLI@2
35+ displayName : Publish win10-x86
3036 inputs :
31- solution : ' $(solution)'
32- platform : ' x64'
33- configuration : ' $(buildConfiguration)'
37+ command : publish
38+ projects : $(project)
39+ arguments : ' --configuration Release -r win10-x64 --output $(Build.ArtifactStagingDirectory)/win10-x86' # Update this to match your need
40+
You can’t perform that action at this time.
0 commit comments