|
|
|
@ -3,7 +3,7 @@ steps:
|
|
|
|
|
displayName: 'Use .NET Core sdk '
|
|
|
|
|
inputs:
|
|
|
|
|
packageType: 'sdk'
|
|
|
|
|
version: '3.x'
|
|
|
|
|
version: '5.x'
|
|
|
|
|
|
|
|
|
|
- task: DotNetCoreInstaller@1
|
|
|
|
|
displayName: 'Use .NET Core sdk for versioning'
|
|
|
|
@ -24,7 +24,7 @@ steps:
|
|
|
|
|
inputs:
|
|
|
|
|
command: 'publish'
|
|
|
|
|
publishWebProjects: true
|
|
|
|
|
arguments: '-c $(BuildConfiguration) -r "$(runtime)" -o $(Build.ArtifactStagingDirectory)/$(runtime)'
|
|
|
|
|
arguments: '-c $(BuildConfiguration) -r "$(runtime)" -o $(Build.ArtifactStagingDirectory)/$(runtime)' --self-contained true -p:PublishSingleFile=true
|
|
|
|
|
zipAfterPublish: false
|
|
|
|
|
modifyOutputPath: false
|
|
|
|
|
|
|
|
|
|