MSIX + Cake publish

%3CLINGO-SUB%20id%3D%22lingo-sub-1345421%22%20slang%3D%22en-US%22%3EMSIX%20%2B%20Cake%20publish%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1345421%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CP%3ESo%20im%20trying%20to%20publish%20my%20MSIX%20project%20inside%20my%20WPF%20application%20using%20cake%20(So%20it%20automatically%20creates%20the%20msixbundle).%3C%2FP%3E%3CP%3E%3CBR%20%2F%3E%3CSPAN%20class%3D%22mceItemHidden%22%3EUnfortunately%20%3C%2FSPAN%3Ei%20have%20no%20idea%20how%20i%20can%20do%20that%20so%20i%20would%20really%20appreciate%20some%20tips%20and%20a%20bit%20of%20help.%3C%2FP%3E%3CP%3ESincerely%3C%2FP%3E%3CP%3EAlex%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1345421%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ECake%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMSIX%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Epublish%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1441733%22%20slang%3D%22en-US%22%3ERe%3A%20MSIX%20%2B%20Cake%20publish%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1441733%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F547493%22%20target%3D%22_blank%22%3E%40Alex-Gipp%3C%2FA%3E%26nbsp%3BYou%20can%20use%20our%20command%20line%20tools%20to%20create%20the%20package%20(%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fwindows%2Fmsix%2Fpackage%2Fmanual-packaging-root%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fwindows%2Fmsix%2Fpackage%2Fmanual-packaging-root%3C%2FA%3E%20)%20from%20your%20cake%20script%20as%20long%20as%20you%20have%20the%20Windows%20SDK%20for%20the%20packaging%20and%20signing%20tools.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FSharpeRAD%2FCake.Powershell%23usage%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2FSharpeRAD%2FCake.Powershell%23usage%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fstackoverflow.com%2Fquestions%2F47515919%2Fis-it-possible-to-call-powershell-command-from-within-cake-task%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fstackoverflow.com%2Fquestions%2F47515919%2Fis-it-possible-to-call-powershell-command-from-within-cake-task%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

Hello,

So im trying to publish my MSIX project inside my WPF application using cake (So it automatically creates the msixbundle).


Unfortunately i have no idea how i can do that so i would really appreciate some tips and a bit of help.

Sincerely

Alex

1 Reply

@Alex-Gipp You can use our command line tools to create the package (https://docs.microsoft.com/en-us/windows/msix/package/manual-packaging-root ) from your cake script as long as you have the Windows SDK for the packaging and signing tools. 

https://github.com/SharpeRAD/Cake.Powershell#usage 

https://stackoverflow.com/questions/47515919/is-it-possible-to-call-powershell-command-from-within-c...