title | description | page_type | languages | products |
---|---|---|---|---|
Load resources using MRT Core |
Use MRT Core's ResourceLoader and ResourceManager to load resources from several resource files |
sample |
c#, c++ |
windows |
MRT Core is the modern resource loading library used in WinUI 3 and the Windows App SDK. These samples demonstrate how to use MRT Core to load resources from multiple resource files and how to select which version of a specific named resource to load.
Note: The unpackaged sample apps reference an experimental version of the Windows App SDK. Unpackaged app deployment is not currently supported for use by apps in production environments.
Before building the sample, make sure to set up your environment correctly by following the steps here. For the unpackaged sample apps, in addition to the steps for setting up the environment for the Windows App SDK, make sure to follow the instructions here.
- Open the solution file (.sln) in the subfolder of your preferred sample in Visual Studio 2019 Preview.
- Build the solution.
- Right click on the solution and click Deploy Solution
- Debug the project.