Search code examples
version-controlmsix

MSIX installer project - which files to commit to repository?


I've created an MSIX installation project for my WinForm app, and now I'd like to commit it to my repository (git). I can't figure out which files are essential and which are now.

I assume I should commit .wapproj, <my public key>.pfx, Package.appxmanifest and the whole Images folder. I know I shouldn't commit .user or obj files. What do I do about bin and BundleArtifacts folders and why?


Solution

  • You can look at a repo on such as this Build demo to see which files should be included in source control. Essentially it is the .wapproj and the .appxmanifest files, plus the images (and then of course the actual app source code).

    You shouldn't include the .pfx file since that also includes the private key used to sign the package.