Skip to content

What files can be deleted when publishing an unpackaged app? #2006

Open
@BenJKuhn

Description

@BenJKuhn

I'm opening this since I suspect we need more detailed documentation on this topic.

Discussed in #2001

Originally posted by AzAgarampur January 21, 2022
After building my unpackaged app in Release, there are some files in the release directory that seem to be used only when creating MSIX packages, not unpackaged apps. I already deleted the .pdb and linker files because they are unnecessary, but what about the .winmd files and .pri files?

For a test, create an unpackaged app using the directions on microsoft docs. Build in release, then remove the pdb and extra linker files. Then, delete everything except the .XBF files. Run the program, and notice how it runs the same compared to if the files were present.

Is this safe to do, and in what situations will we need those other files?

On the other hand, is there a way for .XBFs to be merged into our app the same way they are merged if you are publishing a C++/WinRT or C# UWP app?

Metadata

Metadata

Labels

area-InfrastructureBuild, test, source layout, package construction (TODO: move to Deployment, DeveloperTools)documentationImprovements or additions to documentation

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions