windowswindows-store-appsmicrosoft-metrowindows-rt

What does "If your app contains Windows Runtime components" mean on Windows App reqirements?


I'm somewhat confused regarding this new architecture having just upgraded to 10 and started looking for the first time at "Universal Windows Apps." I was kind of interested in generally focusing my development of my class library where it would be compatible with standards for the Windows App Store as it would be nice to make my code as portable as possible whether or not I intend to use it for "Windows Apps." I see no real sense in writing unportable code if I don't have to.

I'm confused about this section in the "App Certification Requirements" by Microsoft:

3.12.3 If your app contains Windows Runtime components, they must conform to the Windows Runtime type system

In particular, all Windows Runtime types:

What is a "Windows Runtime component"? And what do they mean "if your app contains them?"

...

Must be sealed unless the type is a runtime class marked as composable.

Must compose an unsealed system class, if the type is a composable runtime class.

What do these two things mean? What is a "composable runtime class?" Does this mean I can't use polymorphism?

... - SOURCE

Sorry if I sound stupid here, I just am unfamiliar with this stuff.


Solution

  • A Windows Runtime Component is a DLL which can be used by all supported programming languages, not only .NET. These DLLs cannot use the full .NET APIs so that they are compatible with the other languages. See Creating Windows Runtime Components. If you reference only .NET projects, then you're fine...