%3CLINGO-SUB%20id%3D%22lingo-sub-2037333%22%20slang%3D%22en-US%22%3EMSIX%20Packaging%20Extension%20is%20now%20available%20in%20the%20Azure%20DevOps%20Marketplace!%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2037333%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%20style%3D%22color%3A%20%230070c0%3B%22%3EThe%26nbsp%3B%3CI%3EMSIX%20Packaging%20Extension%3C%2FI%3E%26nbsp%3Bis%20an%20Azure%20DevOps%20extension%20which%20helps%20build%2C%20package%20and%20sign%20Windows%20apps%20using%20the%20MSIX%20package%20format.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20style%3D%22color%3A%20%230070c0%3B%22%3ECI%2FCD%20workflows%20have%20become%20an%20integral%20part%20of%20the%20development%20process%20to%20improve%20efficiency%20and%20quality%20while%20reducing%20cost%20and%20time%20to%20market.%20Microsoft's%20CI%2FCD%20solution%20Azure%20DevOps%20Pipelines%20is%20widely%20adopted%20and%20popular%2C%20but%20the%20current%20process%20of%20integrating%20build%20and%20deployment%20workflows%20for%20apps%20that%20need%20to%20be%20packaged%20as%20MSIX%20into%20Azure%20Pipelines%20is%20tedious%2C%20specifically%20for%20people%20that%20are%20not%20Azure%20Pipelines%20or%20MSIX%20experts.%20The%20new%20Azure%20DevOps%20extension%20offers%20a%20straightforward%2C%20intuitive%20and%20UI%20based%20solution%20making%20it%20easier%20to%20automate%20build%20and%20deployment%20process%20for%20apps%20being%20packaged%20as%20MSIX%2C%20and%20also%20for%20apps%20with%20existing%20CI%2FCD%20workflows%20to%20move%20to%20MSIX%20without%20disrupting%20their%20build%20and%20deployment%20mechanisms.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20style%3D%22color%3A%20%230070c0%3B%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20style%3D%22color%3A%20%230070c0%3B%22%3ETo%20learn%20more%20about%20using%20MSIX%20with%20CI%2FCD%20pipelines%2C%20check%20out%20our%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20black%3B%22%3E%3CA%20href%3D%22https%3A%2F%2Fnam06.safelinks.protection.outlook.com%2F%3Furl%3Dhttps%253A%252F%252Fdocs.microsoft.com%252Fen-us%252Fwindows%252Fmsix%252Fdesktop%252Fmsix-packaging-extension%26amp%3Bdata%3D04%257C01%257CJohn.Vintzel%2540microsoft.com%257C1b95a1ca11104cd339bf08d897ebae57%257C72f988bf86f141af91ab2d7cd011db47%257C0%257C1%257C637426385786652190%257CUnknown%257CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%253D%257C1000%26amp%3Bsdata%3D%252Fkm19ekWmxzLYbFA%252FbmVRA6jT6XHWRgyI09MrVUNsNs%253D%26amp%3Breserved%3D0%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Edocumentation%3C%2FA%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%230070c0%3B%22%3E.%20Head%20to%20the%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20black%3B%22%3E%3CA%20href%3D%22https%3A%2F%2Fnam06.safelinks.protection.outlook.com%2F%3Furl%3Dhttps%253A%252F%252Fmarketplace.visualstudio.com%252Fitems%253FitemName%253DMSIX.msix-ci-automation-task%26amp%3Bdata%3D04%257C01%257CJohn.Vintzel%2540microsoft.com%257C1b95a1ca11104cd339bf08d897ebae57%257C72f988bf86f141af91ab2d7cd011db47%257C0%257C1%257C637426385786662184%257CUnknown%257CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%253D%257C1000%26amp%3Bsdata%3DSz5cJy0wSNc3ZO0WnRnDoH5OSBmS05bZ7fqs5GX6T5k%253D%26amp%3Breserved%3D0%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EAzure%20DevOps%20Marketplace%3C%2FA%3E%3C%2FSPAN%3E%3CSPAN%20style%3D%22color%3A%20%230070c0%3B%22%3E%26nbsp%3Bto%20grab%20the%20extension.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20style%3D%22color%3A%20%230070c0%3B%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20style%3D%22color%3A%20%230070c0%3B%22%3ECheck%20it%20out%20and%20let%20us%20know%20what%20you%20think!%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20style%3D%22color%3A%20%230070c0%3B%22%3EJohn%20Vintzel%20(%40jvintzel)%2C%20PM%20Lead%2C%20MSIX%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20style%3D%22color%3A%20%230070c0%3B%22%3EThanks%20to%20Sahibi%20Miranshah%20for%20the%20post!%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20style%3D%22color%3A%20%230070c0%3B%22%3E%3C!--EndFragment%20--%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-2037333%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%20style%3D%22color%3A%20%230070c0%3B%22%3EThe%26nbsp%3B%3CI%3EMSIX%20Packaging%20Extension%3C%2FI%3E%26nbsp%3Bis%20an%20Azure%20DevOps%20extension%20which%20helps%20build%2C%20package%20and%20sign%20Windows%20apps%20using%20the%20MSIX%20package%20format.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2076850%22%20slang%3D%22en-US%22%3ERe%3A%20MSIX%20Packaging%20Extension%20is%20now%20available%20in%20the%20Azure%20DevOps%20Marketplace!%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2076850%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFollowing%20the%20documentation%20but%20getting%20stuck.%20Can't%20find%20anywhere%20to%20ask%20the%20question.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMy%20msix%20worked%20perfectly%20fine%20on%20VS2019%20on%20the%20desktop.%20Able%20to%20build%20msix%20and%20deploy%20and%20all%20that%20but%20all%20looks%20completely%20different%20on%20the%20web%2Fazure%20pipeline.%20All%20the%20options%20are%20different.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI've%20been%20able%20to%20build%20a%20wpf%20project%20into%20%24(build.artifactstagingdirectory)%20and%20deliver%20by%20azure%20pipelines%20into%20an%20artifact%20wpfdrop%20and%20deploy%20into%20a%20blob%20on%20an%20azure%20website.%20But%20you%20don't%20want%20people%20to%20copy%20a%20zip%20file%20to%20upgrade%20their%20files!%20Thought%20it%20would%20be%20simple%20to%20copy%20an%20msix%20into%20the%20blob%20instead%20and%20get%20the%20program%20to%20reference%20the%20website%20to%20upgrade%20whenever.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWithout%20deleting%20any%20files%2C%20I've%20added%20%22MSIX%20build%20and%20package%22%20step%20straight%20after%20creating%20the%20wpfdrop.%20I%20assume%20all%20the%20executable%20file%20is%20still%20there.%20YAML%20equivalent%20code%20are%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Esteps%3A%3CBR%20%2F%3E-%20task%3A%20MSIX.msix-ci-automation-task.msix-packaging.MsixPackaging%401%3CBR%20%2F%3EdisplayName%3A%20'MSIX%20build%20and%20package'%3CBR%20%2F%3Einputs%3A%3CBR%20%2F%3EoutputPath%3A%20'%24(build.artifactstagingdirectory)%5CTestProj.msixbundle'%3CBR%20%2F%3EbuildSolution%3A%20false%3CBR%20%2F%3EinputDirectory%3A%20'%24(build.artifactstagingdirectory)'%3CBR%20%2F%3EgenerateBundle%3A%20true%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhen%20I%20run%20it%20I%20get%26nbsp%3B%3C%2FP%3E%3CDIV%20class%3D%22bolt-fixed-height-list-row%20scroll-hidden%20absolute%20focused%22%3E%3CDIV%20class%3D%22line-row%20flex-row%20flex-grow%22%3E%3CSPAN%20class%3D%22line-area%20flex-center%20flex-row%20flex-grow%20justify-start%22%3E%3CSPAN%20class%3D%22content%22%3E%3CSPAN%20class%3D%22pl-error%22%3E%3CSPAN%3E%23%23%5Berror%5DNo%20task%20definition%20found%20matching%20ID%20e8789f65-a0e2-472b-98ca-8cfd83ccc3c3%20and%20version%201.0.0.%20You%20must%20register%20the%20task%20definition%20before%20uploading%20the%20package.%20%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FDIV%3E%3C%2FDIV%3E%3CDIV%20class%3D%22bolt-fixed-height-list-row%20scroll-hidden%20absolute%22%3E%3CDIV%20class%3D%22line-row%20flex-row%20flex-grow%22%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%20class%3D%22line-row%20flex-row%20flex-grow%22%3EI%20thought%20the%26nbsp%3B%22MSIX%20build%20and%20package%22%20is%20the%20task%3F%20What%20else%20do%20I%20need%20to%20do%3F%20I%20thought%20the%20task%20would%20pick%20up%20the%20executable%20in%26nbsp%3B%24(build.artifactstagingdirectory)%20and%20turn%20it%20into%26nbsp%3B%24(build.artifactstagingdirectory)%5CWinnet3.msixbundle%20%3F%3F%3C%2FDIV%3E%3CDIV%20class%3D%22line-row%20flex-row%20flex-grow%22%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%20class%3D%22line-row%20flex-row%20flex-grow%22%3EI%20could%20then%202)%20Sign%20it%20and%203)%20Create%20and%20App%20Installer%20after.%20Stuck%20on%20step%201)%20%3A(%3C%2Fimg%3E%3C%2FDIV%3E%3CDIV%20class%3D%22line-row%20flex-row%20flex-grow%22%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%20class%3D%22line-row%20flex-row%20flex-grow%22%3EHow%20do%20I%20register%20task%20definition%3F%20Can%20you%20point%20me%20to%20the%20documentation%3F%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2077223%22%20slang%3D%22en-US%22%3ERe%3A%20MSIX%20Packaging%20Extension%20is%20now%20available%20in%20the%20Azure%20DevOps%20Marketplace!%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2077223%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F935302%22%20target%3D%22_blank%22%3E%40Alan_Lam%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%26gt%3B%26nbsp%3B%3CSPAN%3ECan't%20find%20anywhere%20to%20ask%20the%20question.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22line-area%20flex-center%20flex-row%20flex-grow%20justify-start%22%3E%3CSPAN%20class%3D%22content%22%3E%3CSPAN%20class%3D%22pl-error%22%3E%3CSPAN%3EA%20good%20place%20to%20ask%20is%20posting%20in%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22line-area%20flex-center%20flex-row%20flex-grow%20justify-start%22%3E%3CSPAN%20class%3D%22content%22%3E%3CSPAN%20class%3D%22pl-error%22%3E%3CSPAN%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fmsix%2Fct-p%2FMSIX%22%20target%3D%22_blank%22%3EMSIX%20-%20Microsoft%20Tech%20Community%3C%2FA%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22line-area%20flex-center%20flex-row%20flex-grow%20justify-start%22%3E%3CSPAN%20class%3D%22content%22%3E%3CSPAN%20class%3D%22pl-error%22%3E%3CSPAN%3E%26nbsp%3Bor%20opening%20an%20issue%20in%20the%20GitHub%20repo%20at%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fmsix-packaging%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Emicrosoft%2Fmsix-packaging%3C%2FA%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%26gt%3B%26nbsp%3BWhen%20I%20run%20it%20I%20get%26nbsp%3B%3C%2FP%3E%0A%3CDIV%20class%3D%22bolt-fixed-height-list-row%20scroll-hidden%20absolute%20focused%22%3E%0A%3CDIV%20class%3D%22line-row%20flex-row%20flex-grow%20lia-indent-padding-left-30px%22%3E%3CSPAN%20class%3D%22line-area%20flex-center%20flex-row%20flex-grow%20justify-start%22%3E%3CSPAN%20class%3D%22content%22%3E%3CSPAN%20class%3D%22pl-error%22%3E%3CSPAN%3E%23%23%5Berror%5DNo%20task%20definition%20found%20matching%20ID%20e8789f65-a0e2-472b-98ca-8cfd83ccc3c3%20and%20version%201.0.0.%20You%20must%20register%20the%20task%20definition%20before%20uploading%20the%20package.%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%20class%3D%22line-row%20flex-row%20flex-grow%22%3E%26nbsp%3B%3C%2FDIV%3EThis%20was%20an%20issue%20with%20the%20task%20itself%20(a%20mismatched%20version%20number)%20and%20should%20be%20fixed%20now.%20It%20may%20take%20a%20bit%20to%20update%20on%20your%20Azure%20DevOps%20organization%3B%20but%20you%20may%20be%20able%20to%20force%20it%20to%20update%20the%20extension%20by%20uninstalling%20and%20installing%20it%20again.%3C%2FDIV%3E%3C%2FLINGO-BODY%3E
Microsoft

The MSIX Packaging Extension is an Azure DevOps extension which helps build, package and sign Windows apps using the MSIX package format.

CI/CD workflows have become an integral part of the development process to improve efficiency and quality while reducing cost and time to market. Microsoft's CI/CD solution Azure DevOps Pipelines is widely adopted and popular, but the current process of integrating build and deployment workflows for apps that need to be packaged as MSIX into Azure Pipelines is tedious, specifically for people that are not Azure Pipelines or MSIX experts. The new Azure DevOps extension offers a straightforward, intuitive and UI based solution making it easier to automate build and deployment process for apps being packaged as MSIX, and also for apps with existing CI/CD workflows to move to MSIX without disrupting their build and deployment mechanisms.

 

To learn more about using MSIX with CI/CD pipelines, check out our documentation. Head to the Azure DevOps Marketplace to grab the extension.

 

Check it out and let us know what you think!

 

John Vintzel (@jvintzel), PM Lead, MSIX

 

Thanks to Sahibi Miranshah for the post!

 

2 Comments
Occasional Visitor

Hi,

 

Following the documentation but getting stuck. Can't find anywhere to ask the question.

 

My msix worked perfectly fine on VS2019 on the desktop. Able to build msix and deploy and all that but all looks completely different on the web/azure pipeline. All the options are different.

 

I've been able to build a wpf project into $(build.artifactstagingdirectory) and deliver by azure pipelines into an artifact wpfdrop and deploy into a blob on an azure website. But you don't want people to copy a zip file to upgrade their files! Thought it would be simple to copy an msix into the blob instead and get the program to reference the website to upgrade whenever.

 

Without deleting any files, I've added "MSIX build and package" step straight after creating the wpfdrop. I assume all the executable file is still there. YAML equivalent code are:

 

steps:
- task: MSIX.msix-ci-automation-task.msix-packaging.MsixPackaging@1
displayName: 'MSIX build and package'
inputs:
outputPath: '$(build.artifactstagingdirectory)\TestProj.msixbundle'
buildSolution: false
inputDirectory: '$(build.artifactstagingdirectory)'
generateBundle: true

 

When I run it I get 

##[error]No task definition found matching ID e8789f65-a0e2-472b-98ca-8cfd83ccc3c3 and version 1.0.0. You must register the task definition before uploading the package.
 
I thought the "MSIX build and package" is the task? What else do I need to do? I thought the task would pick up the executable in $(build.artifactstagingdirectory) and turn it into $(build.artifactstagingdirectory)\Winnet3.msixbundle ??
 
I could then 2) Sign it and 3) Create and App Installer after. Stuck on step 1) :(
 
How do I register task definition? Can you point me to the documentation?
Microsoft

Hi @Alan_Lam 

 

Can't find anywhere to ask the question.

 

A good place to ask is posting in MSIX - Microsoft Tech Community or opening an issue in the GitHub repo at microsoft/msix-packaging

 

> When I run it I get 

##[error]No task definition found matching ID e8789f65-a0e2-472b-98ca-8cfd83ccc3c3 and version 1.0.0. You must register the task definition before uploading the package.
 
This was an issue with the task itself (a mismatched version number) and should be fixed now. It may take a bit to update on your Azure DevOps organization; but you may be able to force it to update the extension by uninstalling and installing it again.