Share via

Need Help with Generating PDB File in GitHub Actions for WinUI Project

Anonymous
2024-02-29T04:18:03+00:00

Hello,

I have a solution that includes a WinUI project and a few other projects. I’m using MSBuild in GitHub Actions to generate an MSIXUPLOAD file. However, I’m also in need of a PDB file.

Here’s the MSBuild command I’m currently using:

Create the app package by building and packaging the Windows Application Packaging project

- name: Create the app package
  run: |
    msbuild $env:Solution_Name `
    /p:Configuration=$env:Configuration `
    /p:Platform=$env:Platform `
    /p:UapAppxPackageBuildMode=$env:Appx_Package_Build_Mode `
    /p:AppxBundle=$env:Appx_Bundle `
    /p:AppxPackageDir="$env:Appx_Package_Dir" `
    /p:AppxPackageSigningEnabled=false
  env:
    Appx_Bundle: Never
    Appx_Package_Build_Mode: StoreUpload
    Appx_Package_Dir: AppxPackages\Packages\
    Configuration: ${{ matrix.configuration }}
    Platform: ${{ matrix.platform }}

I would appreciate any guidance on how to modify this command or the overall workflow to also generate a PDB file.

Thank you in advance for your help!

Windows for home | Windows 10 | Install and upgrade

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

1 answer

Sort by: Most helpful
  1. Gopal Krish 2,865 Reputation points Independent Advisor
    2024-02-29T06:03:40+00:00

    Hello there, I'm Gopal an Independent Advisor. I will try my best to help you.

    I apologize for the inconvenience. As the Community forum is primarily focused on consumer-related questions, I kindly request that you post your question on our sister forum, Microsoft Q&A. This platform is specifically designed for IT administrators and professionals, providing a better chance of receiving a knowledgeable and prompt response to your query. You can submit your question by visiting the following link: https://learn.microsoft.com/en-us/answers/quest...

    Regards,

    Gopal

    Was this answer helpful?

    0 comments No comments