Including .PDB files in the appx package / install directory


  • For debug reasons, we'd like to include the .pdb files associated with our .dll's in the install/app directory for our Windows 8 Store application. I understand that uploading an .appxsym file provides more detailed log information, but for a service like BugSense or Testflight,  I'd require the .pdb files in the same directory as our .dlls. In doing so I've run into a couple problems and was curious on the best way to proceed. Note that we currently use MSBuild to automatically create our appx packages.

    .PDB files seem to get copied into a .appxsym package. Is there a way that we can tell the package upload/installer to unzip the contents of these into the target directory of our .appx package? Finding a simple way to include these in the final .appx package would be the most preferred way.

    In the event that can't be done, I've also noticed that we can do the MakeAppx tool with a list of files to include as an argument. This works well except for things like content with it's "copy to output directory" set to "do not copy", or specifically the Microsoft.Advertising.WinRT.UI folder that's created in the install folder/appX folders when unpacked or deployed. Is there a way to include the dependency files for the AdSDK like this? The Microsoft.Advertising.WinRT.UI.winmd files get included, just not the Microsoft.Advertising.WinRT.UI folders.

    Monday, January 28, 2013 8:13 PM