Silverlight WP7与visual studio--我的所有应用程序都获得相同的模式消息

Silverlight WP7与visual studio--我的所有应用程序都获得相同的模式消息,silverlight,visual-studio-2010,windows-phone-7,schema,Silverlight,Visual Studio 2010,Windows Phone 7,Schema,每次创建WP7应用程序时,我都会收到以下两条消息: "Could not find schema information for the element 'http://schemas.microsoft.com/client/2007/deployment:Deployment'. 及 据我所知,这些应用程序运行正常。但是这些信息很烦人。如何摆脱它们?在属性文件夹中,您应该有一个包含以下内容的文件clled AppManifest.xml: <Deployment xmlns="htt

每次创建WP7应用程序时,我都会收到以下两条消息:

"Could not find schema information for the element 'http://schemas.microsoft.com/client/2007/deployment:Deployment'.

据我所知,这些应用程序运行正常。但是这些信息很烦人。如何摆脱它们?

在属性文件夹中,您应该有一个包含以下内容的文件clled AppManifest.xml:

<Deployment xmlns="http://schemas.microsoft.com/client/2007/deployment"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
    <Deployment.Parts>
    </Deployment.Parts>
</Deployment>

你的应用程序中还应该有对System.Windows[.dll]的引用。

我确实有这两个东西。但信息仍然存在。
<Deployment xmlns="http://schemas.microsoft.com/client/2007/deployment"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
    <Deployment.Parts>
    </Deployment.Parts>
</Deployment>