So occasionally and seemingly randomly when developing WinRT apps Visual Studio goes through a lengthy process that starts with "Creating a new clean layout..." I would love more information about the build and deployment process involved with WinRT apps. I understand the concept of creating an application that runs in a sort of sandbox environment, but I'm looking for information about that sandbox environment. Also (this may sound silly) but what is different about the executable created that runs in the sandbox and why can't it be run as a standalone? Thanks for the information in advance.
I've tried to do some research about this, but there seems to be limited knowledge about this part of WinRT.
EDIT:
I'm going to start a bounty on this because I really don't understand it and Google/Microsoft are unusually barren when I search for this. So the questions to receive the bounty are:
Thank you in advance!!
C++/WinRT is an entirely standard modern C++17 language projection for Windows Runtime (WinRT) APIs, implemented as a header-file-based library, and designed to provide you with first-class access to the modern Windows API.
WinRT allows developers to create safe "sandboxed" touchscreen applications available from the Microsoft Store. WinRT apps support both the x86 and ARM architectures and multiple programming languages, including C/C++, C#, Visual Basic and JavaScript. WinRT was augmented by the Universal Windows Platform (see UWP).
The IInspectable interface is the root interface of every runtime class in the Windows Runtime (WinRT).
Windows Runtime (WinRT) is a platform-agnostic component and application architecture first introduced in Windows 8 and Windows Server 2012 in 2012.
Have you looked at the Windows Dev Center for Win Store Apps? It tells you literally step-by-step what it takes to get it to market. You'll need a dev account, the Windows App Certification Kit, and their approval.
The sandbox refers to AppContainers which were integrity levels in Vista. The sandbox limits/requires explicit declaration for certain privileges.
See Security in Windows Store apps for an idea of how sand boxing/security work.
Windows 8 and RT Windows App Store dev is pretty similar. See this Windows Store app development for Windows RT PCs Whitepaper for some differences.
Hope this gets you started.
EDIT 1:
If you're interested in the MSBuild process, read "Inside the Microsoft® Build Engine: Using MSBuild and Team Foundation Build" and the supplement "Supplement to Inside the Microsoft Build Engine: Using MSBuild and Team Foundation Build". Unfortunately, I don't remember RT being explicitly mentioned, but windows 8 is pretty close.
See App packages and deployment (Windows Store apps) for how apps are managed/deployed from the store (relevant MSDN post).
See also Windows Store Apps with HTML5 Refresh: (05) Packaging and Deployment.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With