MSIX / Windows Application Packaging Project - After Build event or target?

Copper Contributor

So I have a Windows Application Packaging Project in Visual Studio which generates a MSIX installer. The AppInstaller URI points to an Amazon S3 bucket.

 

What I currently do is I first publish to a local drive, then upload the MSIX package to Amazon S3 via a bat file that calls the AWS command line interface.

 

I'd like this bat file to be automatically invoked via a kind of post-publish event or after publish target. However, I don't find any information if this can be done. I tried an AfterPublish target in the project file, but it seems this only works foe ClickOnce projects, not MSIX ones.

 

Has somebody be able to automatically invoke commands after the publishing phase of an MSIX project completes?

 

Thanks in advance.

0 Replies