About This eBook by Bart De Smet

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

O'Reilly logo

Building Windows Runtime Components

After removing the Random property, we can compile our component, resulting in a WINMD file, as shown in Figure 32.18.

Image

FIGURE 32.18 Our WinRT component’s WINMD file.

Just like all the Windows APIs for Windows Store applications are described in a Windows Metadata (WINMD) file, our own component is turned into such a file. Under the hood, the compilation process consists of two steps. First, the C# compiler kicks in to compile our code. But instead of writing the result to a .dll file, it emits a .winmdobj file by running with the /t:winmdobj flag. Next, the WinMdExp.exe tool from the Windows SDK is called to ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required