Skip to main content

Posts

Showing posts from October, 2011

WP7 from 7.0 to 7.1 Microsoft.Xna.Framework missing reference or assembly "wont appear in the .net tab add reference"

Recently i upgraded a windows phone project from 7.0 sdk to 7.1 and i got this error Microsoft.XNA.Framework missing reference or assembly, after doing some search in the SDK 7.1 documentation i found this to be a know issue and the solution is to map the Assembly manually, and note that the Assembly wont appear in the .net tab here is the path you should find the assembly in C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\Profile\WindowsPhone\Microsoft.Xna.Framework.dll Simply remove it and re-Add the reference and it should work fine VIVA WP7 or at least hope !!

Windows Phone 7 Advertising SDK upgrading to 7.1 Test Mood and Advertising change AdControl does not contain Test Mode

Recently i upgraded a windows phone project from 7.0 sdk to 7.1 and i got this error the Adcontrol.TestMode cannot be resolved this is the message 'Microsoft.Advertising.Mobile.UI.AdControl' does not contain a definition for 'TestMode' The solution i found here was all because the the SDK itself has changed you have to set the ApplicationId and UnitId properties manualy as follows #if SHOW_TEST_ADS adControl.ApplicationId = "test_client"; adControl.AdUnitId = "Image480_80"; #else // Use your real Application ID and Ad Unit ID here adControl.ApplicationId = "34fg678a-de7s-67ad-0988-9876543g1h43"; adControl.AdUnitId = "12345"; #endif  pieace a cake !!! here is the link to all changes http://community.microsoftadvertising.com/forums/t/69768.aspx

How to upgrade an existing Windows Phone OS 7.0 Project to Windows phone 7.1 Mango (7.5 Platform)

Open the Windows Phone OS 7.0 “Silverlight XNA Classlibrary etc ..” project you want to upgrade in Visual Studio. In Solution Explorer Right-click the project and select Upgrade to Windows Phone 7.1 in -Or- On the Project right click menu, select the Properties then a properties window will appear or just select the project and hit Alt+Enter. On Target Windows Phone OS Version drop-down list change the selected option to Windows Phone OS 7.1. Here is a screen shot of the Properties window and how to upgrade . You might be required to add windows phone 7.1 SDK to the project manually if you use the 7.1 functionality. You might also need to update the capabilities in the application manifest file., see Application Manifest for Windows Phone 7 and How to Determine Application Capabilities ? .

Starting Windows Phone 7

In a first of many to come Articles targeting the windows phone 7 new platform mango I have decided to put this link for the complete documentation for the windows phone 7 library from the MSDN itself http://msdn.microsoft.com/en-us/library/ff637516%28v=vs.92%29.aspx