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

Ashok Thulasidharan 0 Reputation points
2024-02-29T07:40:05.3433333+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 App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
745 questions
0 comments No comments
{count} votes