I'm using it on azure pipeline and there's something weird going on. The version of the publish.htm file is always set to the assembly version, not the application being published version. Maybe I'm doing something wrong. Below is part of the code of my pipeline:
Hi, great work!
I'm using it on azure pipeline and there's something weird going on. The version of the publish.htm file is always set to the assembly version, not the application being published version. Maybe I'm doing something wrong. Below is part of the code of my pipeline:
`variables: Solution: '*/.sln' BuildPlatform: 'Any CPU' Version: '1.0.0.$(Build.BuildId)'
steps:
task: NuGetToolInstaller@1
task: NuGetCommand@2 inputs: restoreSolution: '$(Solution)'
task: DownloadSecureFile@1 inputs: secureFile: 'Certificado.pfx' displayName: 'Download Secure PFX File'
task: MSBuild@1 inputs: solution: '$(Solution)' msbuildArchitecture: 'x64' configuration: 'Release' platform: '$(BuildPlatform)' msbuildArguments: '-p:target=publish -p:ApplicationVersion="1.0.0.$(Build.BuildId)" -p:AppxPackageSigningEnabled=false -p:OutputPath="$(build.ArtifactStagingDirectory)\Publish\"'
task: clickonce@1 inputs: source: '$(build.ArtifactStagingDirectory)\Publish' entryPoint: '$(build.ArtifactStagingDirectory)\Publish\GerenciadorArquivos.exe' target: 'publish' version: $(Version) description: 'Gerenciador de arquivos do Planck para o Escolando' product: 'Gerenciador de Arquivos Planck' publisher: 'Escolando' launchMode: 'start' iconFile: '$(build.ArtifactStagingDirectory)\Publish\logo.ico' deploymentUrl: 'https://arquivosplanck.blob.core.windows.net/apps/GerenciadorArquivos' targetFramework: 'net472' signingMode: 'file'
certificate: 'Certificado.pfx' certificatePassword: 'xxx`