Author Archives: poppyto

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

IIS 7+ : Redirect HTTP to HTTPS

These days, Google forces you to enable HTTPS on your website. If you google it for IIS, you will find several Microsoft post like this : https://blogs.technet.microsoft.com/dawiese/2016/06/07/redirect-from-http-to-https-using-the-iis-url-rewrite-module/ But the solution gave is wrong, you need this rule with Rewrite Module: <rule … Continue reading

Posted in Uncategorized | Leave a comment

The solution for validating an email address (RFC compliant) in .net C#

It’s a common question : “How can I validate one email address” ? There are 0b10 (2) types of developers : lazy and ignorant. Lazy people always wins, because they do not reinventing the wheel, they prefer to search already … Continue reading

Posted in Uncategorized | Tagged | 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 to Empty Emulator List (plus 0x80070002) in Windows Phone SDK 8

Sometimes, Visual Studio fails and you can’t do anything. You can repair or reinstall but in this case it’s not works. PROBLEM : You can’t see any Emulators on Visual Studio : and when you try to compile it throws … Continue reading

Posted in Uncategorized | 1 Comment

Solution for blurry rendering with DirectX11 on Windows Phone 8

If you experienced a global blurry rendering on your screen when you use DirectX11 on your Windows Phone 8, you probably fails a thing : The swapchain size must be the screen size (means portrait), not the landscape size. So … Continue reading

Posted in C++ CX, DirectX 11, Smartphone, Windows Phone 8 | 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

Windows Phone Store 8 shows neutral titles instead of localized titles

Dear you, I experienced a bug in the Windows Phone 8 Store : I localized my app titles with the AppResLib.dll (& mui) and the tiles title were ok in the phone but the WP8 Store shown only the neutral language title. … Continue reading

Posted in Uncategorized | Leave a comment