0

Building a C++ WinUI3 project generates a resources.pri file, is it possible to rename it? If yes, how?

yonutix
  • 1,964
  • 1
  • 22
  • 51

1 Answers1

0

According to Specify the default resources that your app uses,

Visual Studio launches a tool named MakePri.exe to generate a file(resources.pri) known as a Package Resource Index (PRI), which describes all of your app's resources, including indicating which are the default resources.

And

The resources.pri file at the root of each package is automatically loaded when the ResourceManager is instantiated.

Perhaps you need to create yourself PRI file and then load it.

YangXiaoPo-MSFT
  • 1,589
  • 1
  • 4
  • 22