VS2012, Windows Phone and the “Reference to a higher version” error

Thanks. I had the same problem for Microsoft.Practices.Prism.Interactivity.dll

Musings of a PC

Having installed Windows 8 Pro, Visual Studio 2012 Premium and the new Windows Phone 8 SDK, I was keen to make sure that my Windows Phone 7.1 project still built & worked. That meant getting all of the references to work again.

Most of the references were for packages that I could install through Nuget. However, one was for a Zip file that I had to download and unpack. Upon browsing to the appropriate DLL and selecting it as the reference, Visual Studio promptly reported:

A reference to a higher version or incompatible assembly cannot be added to the project

The ultimate solution was to right-click on each of the files that had been contained in the Zip file, choosing Properties and then clicking on the Unblock button. Once that was all done, Visual Studio then allowed me to add the reference, although it did warn me that it might…

View original post 12 more words


Using async and await in Windows Phone 7.1 apps on VS 2012

When I updated my Windows Phone 7.1 app to Visual Studio 2012, I expected everything to be fine. It was not to be. I was using the Async Targeting Pack with Visual Studio 2010, this pack is not supported on Visual Studio 2012. Initially this did not give an error, till I changed my Build … Continue reading Using async and await in Windows Phone 7.1 apps on VS 2012

slsvcutil may crash for windows phone apps

When you attempt to use the slsvcutil.exe command line tool to generate a proxy for Windows Phone, you get an error that looks like: Error: An error occurred in the tool. Error: Could not load file or assembly 'C:\Program Files (x86)\Microsoft Silverlight\5.0.61118.0\System.Runtime.Serialization.dll' or one of its dependencies. This assembly is built by a runtime newer … Continue reading slsvcutil may crash for windows phone apps

Consume JSON with Windows Phone: a seamless solution

Andrea Boschin in his post explains how to consume JSON with Windows Phone. The article is quite detailed explaining how to first create a JSON service and then consume it, for a Windows Phone. A good read.  Consume JSON with Windows Phone: a seamless solution Related articles Deserializing JSON using JSon.NET with dynamic data (stackoverflow.com)

Published apps on Windows Phone Marketplace

I recently published 4 apps to the Windows Phone Marketplace. I would like to share with you all their details. Here's the list: 5 In Line Games Arrange 5+ into a line and share your score Call A Number Tools & Productivity Choose a contact and edit the number to call Shorten Urls Tools & … Continue reading Published apps on Windows Phone Marketplace

Windows Phone 7 – one fix for “Xap packaging failed. Object reference not set to an instance of an object.”

juarola's notes

I faced that error while building a WP7 app after doing some reorganization of files within the solution.

VS2010 didn’t give any pointers, so i turned to Google and found this post in Jayway Team’s blog. My problem was not exactly the same, but that post pointed me to the right direction. Thank you to Jayway Team!

I had accidentally moved the default “ApplicationIcon.png” and “BackGround.png” from the root of the solution to a resources folder. After a bit of digging around the solution, i found the references to those images in the WMAppManifest.xml-file located within properties folder.

Issue went away by altering the paths. Really simple, but why-oh-why VS couldn’t give me any useful information right at the beginning…

View original post

Using the Live SDK in Windows 8

The Microsoft’s Live SDK (or commonly referred to as Live Connect), provides a set of controls and APIs that enables applications to integrate single sign-on (SSO) functionality using Windows Live ID. You can also use it to access data in SkyDrive, Hotmail, and Windows Live Messenger. The library supports multiple platforms, including Windows Phone 7 … Continue reading Using the Live SDK in Windows 8