SDK update for Windows Phone 7.8 – “The element “Deployment” in namespace “http://schemas.microsoft.com/windowsphone/2009/deployment” has invalid child element “AppExtra”. List of possible elements expected: “App”.”

The element “Deployment” in namespace “http://schemas.microsoft.com/windowsphone/2009/deployment” has invalid child element “AppExtra”. List of possible elements expected: “App”.

In Italian

L’elemento “Deployment” nello spazio dei nomi “http://schemas.microsoft.com/windowsphone/2009/deployment” ha un elemento figlio non valido “AppExtra”. Elenco di possibili elementi previsti: “App”.

Cause:
Installing the Windows Phone 8 SDK, the schema files of the previous version will update too. If you haven’t installed it and you want to work with Visual Studio 2010 you have an old version of schemas that not contains the <AppExtra> node, so the error appears because the xsd file cannot validate your WMAppManifest.xml file with the new lines

<?xml version="1.0" encoding="utf-8"?>
<Deployment xmlns="http://schemas.microsoft.com/windowsphone/2009/deployment" AppPlatformVersion="7.1">
  <AppExtra xmlns="" AppPlatformVersion="8.0">
    <Extra Name="Tiles"/>
  </AppExtra>

Solution:
Download and replace the following files inside you Visual Studio 2010 installation folder at the path like this:

C:\\Program Files\\Microsoft Visual Studio 10.0\\Xml\\Schemas

Rename the Microsoft.Phone.PreImport.targets file in

C:\\Program Files\\MSBuild\\Microsoft\\Silverlight for Phone\\v4.0

append “_” at the end of the filename: Microsoft.Phone.PreImport.targets_ (I’m searching other ways for this part of solution)

Close and re-open Visual Studio 2010 then Rebuild your solution.

Did my solution solve your problem? Leave a reply.

HOW TO install certificates file .cer on Microsoft Windows Phone-based devices

Be sure that you have exported the certificate as DER-coded-binary X.509 (.cer).
Send the Certificate file “.cer” via e-mail to an account configured on your Microsoft Windows Phone device.
Sync the Mail Box and tap on the attachment file to install the certificate.
Reboot your device.

Did my HOW TO help you? Leave a reply.

HOW TO change the StartPage in Windows Phone 7 Application in Visual Studio 2010 [C#.NET]

Expand the Properties folder into Solution Explorer of the Visual C# Windows Phone Application Project and Open the WMAppManifest.xml file.
Change the NavigationPage with you new StartPage filename (case sensitive).

    <Tasks>
      <DefaultTask  Name ="_default" NavigationPage="MainPage.xaml"/>
    </Tasks>

Did my solution solve your problem?

HOW TO change the StartPage of the Windows Phone 7 Application in Visual Studio 2010 [VB.NET]

Expand the My Project folder into Solution Explorer of the Visual Basic Windows Phone Application Project and Open the WMAppManifest.xml file.
Change the NavigationPage with you new StartPage filename (case sensitive).

    <Tasks>
      <DefaultTask  Name ="_default" NavigationPage="MainPage.xaml"/>
    </Tasks>

Did my solution solve your problem?

Windows Phone Software Development Kit (SDK) 7.1 Release Candidate (RC) – “Windows Phone 7 SDK – Visual Studio setup cannot run in compatibility mode. For more information see the ‘Installing’ section in the Visual Studio Readme at “http://go.microsoft.com/fwlink/?LinkId=143397″.”

When you launch the SDK installation from the ‘vm_web2.exe’ file show the following error:

Windows Phone 7 SDK – Visual Studio setup cannot run in compatibility mode. For more information see the ‘Installing’ section in the Visual Studio Readme at http://go.microsoft.com/fwlink/?LinkId=143397.

Solution:

Right-click vw_web2.exe then click Properties
On the Compatibility tab uncheck “Run this program in compatibility mode for”, press Apply then click OK.

Note: if the chebox is disabled press the button “Show settings for all users” in the bottom of the Properties dialog then uncheck “Run this program in compatibility mode for”, press Apply then click OK.

Did my solution solve your problem?