Development

Windows 8 apps event logs

While porting a rather large native application to Window 8 (Windows Store application) I encountered some startup problems. Errors like the following appeared:

—————————
Microsoft Visual Studio
—————————
Unable to activate Windows Store app ‘bf60ce1b-2569-4c4c-b319-0b3a2c9c1374_7qc4g378g6z3m!App’. The XXXXX.exe process started, but the activation request failed with error ‘The app didn’t start’.

The linked help page points to the event log located at:

Application and Services Log\Microsoft\Windows\Immersive-Shell folder.

However, there is no log at this place. The general application log then points to:

Activation of app 716190BC-25B0-45AB-A34E-4174A7ACEA5F_7qc4g378g6z3m!App failed with error: The app didn’t start. See the Microsoft-Windows-TWinUI/Operational log for additional information.

This log is also a bit difficult to find, it’s located below the “Apps” folder:

image

In the end the problems were caused by external dlls which were not build correctly.

Windows Phone 7 and Silverlight Slider Binding Bug

It took me about 4-5 hours today to finally recognize why one my custom controls behaved in a strange way. It is a control derived from the Silverlight slider control and I encountered strange behavior when binding the Maximum and Minimum properties. After countless checks to make sure, that my ViewModel logic was flawless I finally discovered that … the order of attributes in the xaml code *does* matter when binding these exact properties.

It turns out, instead of this

<Slider Name="slider" Grid.Column="1" Minimum="{Binding MinValue}" Maximum="{Binding MaxValue}" />

it should be this:


<Slider Name="slider" Grid.Column="1" Maximum="{Binding MaxValue}" Minimum="{Binding MinValue}" />

(Source: http://social.msdn.microsoft.com/Forums/en-US/silverlightgeneral/thread/5a08a3c7-66d3-4ee0-aa29-43bb8d186ab7)

Other people have noticed the same: http://dotnetbyexample.blogspot.com/2009/08/bind-silverlight-3-slider-value-minimum.html