Category Archives: Windows8

Different approach for animation in XAML using .NET 4.5 new async functionality (Part 1)

This post discusses a small set of classes we use to do dynamic animation in XAML apps – animation where the developer, at design time, might not know a lot about what needs to be animated and when. I’ve been … Continue reading

Posted in Animation, Dev, Windows8 | Leave a comment

DEP0500 and DEP1000 errors when deploying Windows Store apps from VS

One of my biggest problems is that I have a horrendous memory. For everything. From forgetting my coat to remembering to pay my credit card on time. Just terrible. For programming-related issues, my memory is not so terrible, but still … Continue reading

Posted in Dev, VisualStudio, Windows8 | Tagged , , , , | Leave a comment

Maintain ScrollViewer scroll position across page navigation/app reactivation

When navigating around your app, it could be really helpful to maintain scroll position on various ScrollViewer controls. This also applies when your app reactivates after being suspended and shut down. Doing it is a bit trickier than it looks … Continue reading

Posted in Dev, Windows8 | Tagged , , , , , , , | Leave a comment

But in DataContractSerializer–does not handle object-types well

In using SuspensionManager and the Session State on Windows 8, I tried saving an object into it and the app kept crashing on load.. Just spent four hours chasing my tail… Finally figured it out. Here it is if anyone … Continue reading

Posted in Dev, Windows8 | Tagged , , , , , | Leave a comment

ColdTask implementation for Windows 8

Tasks in Windows 8 are used all over the place – they are a really great way of getting things done asynchronously. Sometimes though, you find yourself wanting to change the way these tasks execute. Most .NET tasks are “hot” … Continue reading

Posted in Dev, Windows8 | Tagged , , , , , , | Leave a comment

Turn any UserControl into a pleasing Dialog/Flyout in Windows 8

Windows 8 comes with a somewhat extended Message box functionality – you can control the text on the message box and the content of the buttons. However, for Flyouts and arbitrary content, there’s no easy mechanism to use. WinRT does, … Continue reading

Posted in Dev, Windows8 | Tagged , , , , , , , , , | 15 Comments

What to do when getting reference errors with Microsoft advertising SDK

When compiling Windows Store apps that contain references to the Microsoft Advertising SDK, you may, every now and again, hit the following two errors: Error 13 The .winmd file ‘Microsoft.Advertising.WinRT.UI.winmd’ contains duplicate type names. Type ‘Microsoft.Advertising.WinRT.UI.XamlAdControl_XamlTypeInfo.XamlMetaDataProvider’ is already registered with … Continue reading

Posted in Dev, Windows8 | Tagged , , , , , | Leave a comment