.PRI File Extension
File Type 1Package Resource Index File
What is a PRI file?
A PRI file is a package resource index file created by Microsoft Visual Studio during the build time of a Universal Windows Platform (UWP) application. It contains strings that are used for localizing the application user interface for different languages and contexts, as well as an index of file paths to resources included in the application package. PRI files are saved in a compiled binary format.
PRI files were first introduced by Microsoft for the development of Windows 8 applications but are also used by subsequent versions, including 8.1 and 10. A PRI file is compiled from a .RESW source file, which is included as part of the development project. The file is created at build time to store an index of resources that are packaged with the developer's app. Typically, there is one PRI for every language in the application package. When the app is run, the system references the index in the PRI file to load the necessary resources.
PRI files can be written back to plain text using the makepri dump command. The MakePRI.exe program is included with Microsoft software development kits. For the Windows 8 Developer Preview, it is located in the following directories:
- C:\Program Files (x86)\Windows Kits\8.0\bin\x64\
- C:\Program Files (x86)\Windows Kits\8.0\bin\x86\
PRI files are also generated for Windows 10 applications. PRI files can typically be found in the following directories in Windows 10:
- C:\Program Files (x86)\Windows Kits\10\bin\[version]\x64\
- C:\Program Files (x86)\Windows Kits\10\bin\[version]\x86\
resources.pri - Common file name for PRI files stored in the root of a package.
File Type 2Qt Project Include File
.PRI File Association 2
Software development settings file used by applications created for Qt, a cross-platform framework commonly used for building and running mobile applications; contains settings for the qmake command, which builds the application; used for specifying locations of developer files and platform-specific definitions.
NOTE: Qt SDK was previously developed by Nokia before Digia acquired the software.