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

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

SketchFlow for Windows Phone 7

Many of you might have used SketchFlow for your various applications. Now that there’s a Sketchflow template for Windows Phone applications, you can (and should) prototype any projects. The time you spend prototyping and working out any issues and finding ambiguities in requirements will be well worth it. Here are some sample images from CodePlex:     Alternatively, see … Continue reading SketchFlow for Windows Phone 7

Introduction to Gestures in Windows Phone 7

A Windows Phone 7 device touch input in the form of gestures. In Windows Phone OS, a touch gesture involves tapping or swiping one or more fingers on a touch screen. A Windows Phone 7 Application can use the following gestures: Single-touch gestures Tap Double Tap Pan Flick Touch and Hold Multi-touch gestures Pinch and Stretch A Windows … Continue reading Introduction to Gestures in Windows Phone 7

Understanding dependency properties

Many a times while developing your WPF, Silverlight or even Windows Phone application, you require the need to use a Dependency Property. A dependency property is one of the most complex concept to understand conceptually, let alone implement it. For all those who need to understand more about dependency properties and their usage, check out Dependency … Continue reading Understanding dependency properties