none
How can I automate supplying a version in appxmanifest? RRS feed

  • Question

  • I am using the desktop bridge for a WPF desktop application and am looking to automate the creation of my msix packages during build. I do not want to store any version information in source control.

    The WPF project in the solution uses the gitversion msbuild task to automatically infer the version for my executable every time a build is done. Unfortunately, I'm not sure if any such similar mechanism exists for .appxmanifest.

    My thinking is that it would be nice to have this nicely integrated with the build process, similar to gitversion, but I haven't been able to find any documentation about what my options are during build or the Create App Packages process.

    Perhaps there's some transform step during build that I'm not aware of that can be done to the .appxmanifest? Or maybe there's a way to have the version always reflect the version of the executable being bundled?

    (stackoverflow question)

    Thursday, July 18, 2019 12:29 PM

All replies

  • Hi,

    This forum is a General Windows Desktop Development Issues-related forum. Your question is related to UWP. 

    So we will move this thread to UWP fourms.

    Best regards,

    Jeffrey


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Friday, July 19, 2019 8:18 AM
  • Hi,

    My teammate had followed you on StackOverflow. Please check that.

    Best regards,

    Roy


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Friday, July 19, 2019 8:30 AM
    Moderator