Signtool error: No certificates were found that met all given criteria with a Windows Store App?

When getting this error through Visual Studio it was because there was a signing certificate setup to match the computer it was originally developed on. You can check this by going to the project properties > signing tab and checking the certificate details. You can uncheck “Sign the ClickOnce manifests” to disable signing. If you … Read more

Setting Background Color or WPF (4.0) ListBox – Windows 8

Those posts are getting outdated for Windows-8. In Windows-8 for some reason Microsoft don’t want people editing their Default Style‘s so easily or something with a Brush over-ride. ListBoxItem default Style from VS has this for selection triggers: <MultiTrigger> <MultiTrigger.Conditions> <Condition Property=”Selector.IsSelectionActive” Value=”False” /> <Condition Property=”IsSelected” Value=”True” /> </MultiTrigger.Conditions> <Setter TargetName=”Bd” Property=”Background” Value=”#3DDADADA” /> <Setter … Read more

Is there a way to convert a System.IO.Stream to a Windows.Storage.Streams.IRandomAccessStream?

To use the extensions: you must add “using System.IO” In Windows8, .NET and WinRT types are generally converted to/from compatible types under the hood so you don’t have to care about it. For streams, however, there are helper methods to convert between WinRT and .NET streams: For converting from WinRT streams -> .NET streams: InMemoryRandomAccessStream … Read more

WPF WebBrowser Control – position:fixed Element jumps while scrolling (Windows 8)

If there are discrepancies in behavior of the same web page loaded into WebBrowser control and standalone IE browser, the problem can often be fixed by implementing WebBrowser Feature Control. Once the feature control has been implemented, it makes sense to verify that <!DOCTYPE html> is observed by WebBrowser and the page is actually rendered … Read more