diTii.com Digital News Hub

Sign up with your email address to be the first to know about latest news and more.

I agree to have my personal information transfered to MailChimp (more information)


Windows Phone Developers Tools CTP Refresh Fixes ‘Signed Assemblies’ Bug

During the final testing phases for our Windows Phone Developer Tools CTP refresh, we discovered a bug that’ll impact developers using some existing “transparent Silverlight” assemblies (Microsoft & 3rd party) in Windows Phone applications, with regard to loading of signed precompiled assemblies in context of your app,” stated Brandon Watson.

Detecting Problem: If your app deploys to the emulator, but fails to run with a “System.IO.FileLoadException” then you may be using a signed assembly.

These’ll be assemblies you manually added to your project.

For e.g., if you have an app that uses System.ServiceModel.Syndication.dll (assembly shipped with Silverlight SDK and thus is digitally signed) and you try to run that app in the emulator it’ll fail in a debugger with an error like:

“A first chance exception of type ‘System.IO.FileLoadException’ occurred in mscorlib.dll.”

Workaround: Temporarily use copies of assemblies which don’t have signing certificates in them.

A PowerShell script that makes creating these copies easy is available — Simply run it, specifying a path to assembly you want to use, and it’ll create a copy with an easily identifiable filename prefix of “WP7_CTP_Fix”. You can then use this assembly with CTP Refresh.

Copy script to a folder on your machine and follow steps similar to these. PowerShell is built into Windows 7.

If you’re running Windows Vista, install PowerShell,” explains Watson.

More info: Signed Assemblies Bug in the Windows Phone Tools CTP Refresh

Get Latest News

Subscribe to Digital News Hub

Get our daily newsletter about the latest news in the industry.
First Name
Last Name
Email address
Secure and Spam free...