File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -14,15 +14,19 @@ steps:
14
14
- task : NuGetToolInstaller@1
15
15
displayName : ' Install NuGet'
16
16
17
- - task : NuGetCommand @2
17
+ - task : DotNetCoreCLI @2
18
18
displayName : ' NuGet Restore'
19
19
inputs :
20
- restoreSolution : ' $(solution)'
20
+ command : ' restore'
21
+ feedsToUse : ' select'
22
+ projects : ' $(project)'
23
+ includeNuGetOrg : true
21
24
22
25
- task : VSBuild@1
26
+ displayName : ' Build Project'
23
27
inputs :
24
- solution : ' $(solution )'
25
- msbuildArgs : ' /p:DeployOnBuild=true /p:WebPublishMethod=Package /p:PackageAsSingleFile=true /p:SkipInvalidConfigurations=true /p:DesktopBuildPackageLocation ="$(build.artifactStagingDirectory)\WebApp.zip" /p:DeployIisAppPath="Default Web Site "'
28
+ solution : ' $(project )'
29
+ msbuildArgs : ' /p:DeployOnBuild=true /p:WebPublishMethod=Package /p:PackageAsSingleFile=true /p:SkipInvalidConfigurations=true /p:PackageLocation ="$(build.artifactStagingDirectory)"'
26
30
platform : ' $(buildPlatform)'
27
31
configuration : ' $(buildConfiguration)'
28
32
You can’t perform that action at this time.
0 commit comments