Category Archives: WinRT

ProgressRing causes Layout cycle error

If you use a lot of ProgressRing (in ListViewItem or a GridViewItem) in a View, you can have the infamous error Layout Cycle Error. This blog post points the fact you have to hide (Visibility = Collapsed) the non active (IsActive=False) … Continue reading

Posted in UWP, Windows Phone 8, WinRT | Leave a comment

Solution for Xaml Internal Error error WMC9999: Access denied

If you have this exception “Xaml Internal Error error WMC9999: Access denied” while compiling a WinRT or UWP project with Visual Studio, the solution is : Close Visual Studio Delete or rename the “packages” nuget cache directory of the project Restart Visual Studio … Continue reading

Posted in UWP, Visual Studio, WinRT | Leave a comment

WinRT Apps : Slow Compilation when you add WinRT components : Solution

PROBLEM When you create a Blank WinRT project (W8 or WP8.1) with Visual Studio, if you compile as it, it takes : 2 seconds => great ! BUT, if you just add a simple WinRT component library (winmd) as reference and build, … Continue reading

Posted in Windows Phone 8, WinRT | Leave a comment

Solution for Error ERROR_DLL_INIT_FAILED while Loading winmd file in Windows RT

If you experienced the Exception : Error in the DLL (Exception from HRESULT: 0x8007045a (ERROR_DLL_INIT_FAILED)) The solution is simple : You have to remove the main function.(I know, why the fonction “main” is called with DLL? idk :))

Posted in C++ CX, WinRT | Leave a comment

Solution for Error CO_E_ERRORINDLL while Loading winmd file in Windows Phone 8

If you experienced the Exception : Error in the DLL (Exception from HRESULT: 0x800401F9 (CO_E_ERRORINDLL)) The solution is simple : You Must Add the _WINRT_DLL flag in the compiler definitions.

Posted in C++ CX, WinRT | Leave a comment

Resolve the “‘Microsoft.Advertising.WinRT.UI.winmd’ contains duplicate types names”

Hi everybody, I recently had an issue with the Microsoft Advertising SDK for WinRT. I can’t compile without an error  (I found a tip – remove reference/compile/add reference/compile – but I can’t compile for making an app package). The famous … Continue reading

Posted in C++ CX, WinRT | 1 Comment