所以我又被搞砸了。我有一个 WP7.1 项目,我添加了一些用于捏合和缩放工具 的代码按上述添加代码后,我开始收到此错误
AppManifest Validation failed. Invalid AppPlatformVersion in WMAppmanifest.xml
现在我检查了 My WPAppManifest.xml(Window Interface),发现默认情况下没有检查任何屏幕分辨率。当我尝试检查(wvga)时,我看到了错误
无法加载设计器,在 XML 视图中打开以修复
我的 WPManifest 看起来像这样(前几行)
<?xml version="1.0" encoding="utf-8"?>
<Deployment xmlns="http://schemas.microsoft.com/windowsphone/2009/deployment" AppPlatformVersion="7.1">
<App xmlns="" ProductID="{60d84a47-d758-4f91-8111-0bd47bb9a6c0}" Title="Effects" RuntimeType="Silverlight" Version="1.0.0.0" Genre="apps.normal" Author="AviaryDemo author" Description="Sample description" Publisher="AviaryDemo">
<IconPath IsRelative="true" IsResource="false">ApplicationIcon.png</IconPath>
<Capabilities>
<Capability Name="ID_CAP_MEDIALIB" />
<Capability Name="ID_CAP_NETWORKING" />
<Capability Name="ID_CAP_ISV_CAMERA" />
</Capabilities>
<Tasks>
<DefaultTask Name="_default" NavigationPage="MainPage.xaml"/>
</Tasks>
2)我想添加这个 我很困惑,如何在我的 App.xaml 中添加第(7)点,看起来像这样
<Application
x:Class="AviaryDemo.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
xmlns:h="clr-namespace:AviaryDemo"
xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone">
<!--Application Resources-->
<Application.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="/AviarySDK;component/Themes/generic.xaml"/>
</ResourceDictionary.MergedDictionaries>
<resources:Images xmlns:resources="clr-namespace:AviarySDK.Resources;assembly=AviarySDK" x:Key="ImageResources"/>
<aviary:LocalizedStrings xmlns:aviary="clr-namespace:AviarySDK;assembly=AviarySDK" x:Key="LocalizedStrings" />
</ResourceDictionary>
</Application.Resources>
<Application.ApplicationLifetimeObjects>
<!--Required object that handles lifetime events for the application-->
<shell:PhoneApplicationService
Launching="Application_Launching" Closing="Application_Closing"
Activated="Application_Activated" Deactivated="Application_Deactivated"/>
</Application.ApplicationLifetimeObjects>
</Application>
需要帮助!多谢