WindowsAppSDK/dev/MRTCore
Howard Kapustein d7c086f470
Fix dependencies and bad merge (#3169)
* LRPTests was a VS2019 project. Fixed to use VS2022

* LRPTests depends on WindowsAppRuntime_DLL and WindowsAppRuntime_BootstrapDLL but didn't declare project depednencies so build-out-of-order and 'can't find MddBootstrap.h' errors :-( Fixed

* 2 different versions of WIL were referenced across the repo; updated to the latest one for consistency. Ditto for C++/WinRT.

* test\ToastNotificiations\ToastNotificationsTests.vcxproj is gone (bad merge?). Fixed

* Test_DeploymentManagerAutoIntiialize\CPP\* projects were missing a dependency on WindowsAppRuntime_DLL so they could be built before dev\Deployment\*.idl was compiled and thus can't find the DeploymentInitializeOptions type; added missing dependency to ensure build order
2022-11-21 23:48:03 -08:00
..
build Fix the .NET SDK installer script used by MRT Core, and don't run the script anymore (#2640) 2022-06-17 13:45:53 -07:00
mrt Fix dependencies and bad merge (#3169) 2022-11-21 23:48:03 -08:00
packaging Excluding build artifacts from copyright check (#2864) 2022-08-26 15:00:43 -07:00
.gitignore MRTCore Initial Checkin (#185) 2020-09-15 14:22:30 -07:00
.vsconfig_buildtools update to CSWinRT 1.0.2-prerelease.201021.1 (#249) 2020-10-23 11:18:53 -07:00
README.md MRTCore namespace from Microsoft.ApplicationModel.Resources to Microsoft.Windows.ApplicationModel.Resources (#1328) 2021-08-31 18:29:12 +00:00
global.json Fix the .NET SDK installer script used by MRT Core, and don't run the script anymore (#2640) 2022-06-17 13:45:53 -07:00

README.md

Welcome to MRT Core!

Overview

What is MRT Core?

Thanks for asking! MRT Core was born from the need for Windows App SDK applications to use MRT - Modern Resource Technology. MRT was introduced to Windows in the Windows 8 timeframe and has evolved as the resource management system since that time. You can use these links to learn more about MRT and resource management as well as the benefits of globalization and localization.

If you're looking for Core MRT, you're in the right place! Internal project naming was Core MRT and so some of our external communication has also used that terminology - sorry for any confusion! But rest assured, Core MRT or MRT Core, you're in the right place! 😉

So what does it do?

At its core 😎 MRT Core provides support to build resource Package Resource Index (PRI) files, and load resources from PRI files. Learn more about PRI files at this link.

Getting Started

Install the NuGet package from https://aka.ms/MRTCore, and you are ready to build PRI files from Visual Studio and use MRT Core APIs to load resources in your app.

The C APIs can be found in mrm.h. The WinRT APIs can be found in Microsoft.Windows.ApplicationModel.Resources.idl.

Build and Test

Load MrtCore.sln in Visual Studion 2019, and build the solution.

Run the tests in Test Explorer.

Contribute

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repositories using our CLA.

Code of Conduct

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Data Collection

The software may collect information about you and your use of the software and send it to Microsoft. Microsoft may use this information to provide services and improve our products and services. You may turn off the telemetry as described in the repository. There are also some features in the software that may enable you and Microsoft to collect data from users of your applications. If you use these features, you must comply with applicable law, including providing appropriate notices to users of your applications together with a copy of Microsoft's privacy statement. Our privacy statement is located at https://go.microsoft.com/fwlink/?LinkID=824704. You can learn more about data collection and use in the help documentation and our privacy statement. Your use of the software operates as your consent to these practices.

Microsoft and any contributors grant you a license to the Microsoft documentation and other content in this repository under the Creative Commons Attribution 4.0 International Public License, and grant you a license to any code in the repository under the MIT License, see the LICENSE file.

Microsoft, Windows, Microsoft Azure and/or other Microsoft products and services referenced in the documentation may be either trademarks or registered trademarks of Microsoft in the United States and/or other countries. The licenses for this project do not grant you rights to use any Microsoft names, logos, or trademarks. Microsoft's general trademark guidelines can be found at http://go.microsoft.com/fwlink/?LinkID=254653.

Privacy information can be found at https://privacy.microsoft.com/

Microsoft and any contributors reserve all other rights, whether under their respective copyrights, patents, or trademarks, whether by implication, estoppel or otherwise.