How to create html page via Azure Pipeline?

Frequent Visitor

So I'm looking into continuous deployment with Azure Pipelines and gave up with Click Once and moved to MSIX for my releases. I did a publish from within Visual Studio (Right click project -> Publish -> Generate App Packages) and that created a similar experience to the ClickOnce files. 

 

I've tried to generate the same using the MSIX Packaging Extension in Azure DevOps and all I get built is the appinstaller and msix files. Is it possible to get the Azure version to publish the same files as what Visual Studio does? Screenshots and Yaml below.

 

Also how do you increment the app versions? 

 

mattphillips_0-1631875880557.png   mattphillips_1-1631875898723.png

 

 

 

pool:
  name: Clayton
  demands: msbuild

steps:
- task: NuGetToolInstaller@1
  displayName: 'Use NuGet '
  inputs:
    checkLatest: true

- task: NuGetCommand@2
  displayName: 'NuGet restore'
  inputs:
    restoreSolution: '$/BluntNip/SolarEdge/SolarEdgeAPITest/SolarEdgeAPITest.sln'

- task: MSIX.msix-ci-automation-task.msix-packaging.MsixPackaging@1
  displayName: 'MSIX build and package'
  inputs:
    outputPath: '$(build.artifactstagingdirectory)\SolarEdge.msix'
    solution: '$/BluntNip/SolarEdge/SolarEdgeAPITest/SolarEdgeAPITest.sln'
    clean: true
    buildConfiguration: release
    buildPlatform: 'Any CPU'
    updateAppVersion: true
    manifestFile: 'SolarEdge\SolarEdgeAPITest\DemoPackage\Package.appxmanifest'
    appVersion: 1.0.0.5
    appPackageDistributionMode: SideloadOnly
    msbuildArchitecture: x64

- task: MSIX.msix-ci-automation-task.app-installer-file.AppInstallerFile@1
  displayName: 'Create App Installer file'
  inputs:
    package: '$(build.artifactstagingdirectory)\SolarEdge.msix'
    outputPath: '$(build.artifactstagingdirectory)\SolarEdge.appinstaller'
    fileVersion: 1.0.0.5
    uri: 'file://hangar/WebSites/Releases/solaredge3/solaredge.appinstaller'
    mainItemUri: 'file://hangar/WebSites/Releases/solaredge3/solaredge.msix'
    hoursBetweenUpdateChecks: 0
    showPromptWhenUpdating: true
    updateBlocksActivation: true

- task: MSIX.msix-ci-automation-task.msix-signing.MsixSigning@1
  displayName: 'Sign MSIX package'
  inputs:
    certificate: cert1.cer
    passwordVariable: secret

- task: CopyFiles@2
  displayName: 'Copy Files to: \\hangar\WebSites\Releases\Solaredge3'
  inputs:
    SourceFolder: '$(build.artifactstagingdirectory)'
    TargetFolder: '\\hangar\WebSites\Releases\Solaredge3'
    CleanTargetFolder: true
    OverWrite: true

 

 

0 Replies