首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >appmanifest.xml中有重复的文件

appmanifest.xml中有重复的文件
EN

Stack Overflow用户
提问于 2014-09-08 08:22:30
回答 2查看 234关注 0票数 1

我正处于向市场投放应用程序的最后一步,我有错误2001:在appmanifest.xml中有重复的文件

这就是我的appmanifest.xaml的样子:

代码语言:javascript
复制
<Deployment xmlns="http://schemas.microsoft.com/client/2007/deployment" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" EntryPointAssembly="Smite" EntryPointType="Smite.App" RuntimeVersion="4.7.50308.0">
    <Deployment.Parts>
    <AssemblyPart x:Name="Smite" Source="Smite.dll" />
    <AssemblyPart x:Name="Microsoft.Advertising.Mobile" Source="Microsoft.Advertising.Mobile.dll" />
    <AssemblyPart x:Name="Microsoft.Advertising.Mobile.UI" Source="Microsoft.Advertising.Mobile.UI.dll" />
    <AssemblyPart x:Name="Microsoft.Advertising.Mobile" Source="Microsoft.Advertising.Mobile.dll" />
    <AssemblyPart x:Name="Microsoft.Advertising.Mobile.UI" Source="Microsoft.Advertising.Mobile.UI.dll" />
    <AssemblyPart x:Name="Microsoft.Phone.Controls.Toolkit" Source="Microsoft.Phone.Controls.Toolkit.dll" />
    <AssemblyPart x:Name="Microsoft.Threading.Tasks" Source="Microsoft.Threading.Tasks.dll" />
    <AssemblyPart x:Name="Microsoft.Threading.Tasks.Extensions" Source="Microsoft.Threading.Tasks.Extensions.dll" />
    <AssemblyPart x:Name="Microsoft.Threading.Tasks.Extensions.Phone" Source="Microsoft.Threading.Tasks.Extensions.Phone.dll" />
    <AssemblyPart x:Name="MyToolkit" Source="MyToolkit.dll" />
    <AssemblyPart x:Name="MyToolkit.Extended" Source="MyToolkit.Extended.dll" />
    <AssemblyPart x:Name="Microsoft.Phone.Controls.Maps" Source="Microsoft.Phone.Controls.Maps.dll" />
    </Deployment.Parts>
</Deployment>

我的appmanifest.xml就是这样的:

代码语言:javascript
复制
<Deployment xmlns="http://schemas.microsoft.com/client/2007/deployment"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
    <Deployment.Parts>
    </Deployment.Parts>
</Deployment>

我已经尝试构建,重新构建作为调试和发布,我尝试删除appmanifest.xaml,总是相同的错误(出现两次)。

如果有人知道我为什么会犯这个错误。

提前谢谢。

EN

回答 2

Stack Overflow用户

回答已采纳

发布于 2014-09-08 16:51:35

我也面临同样的问题,看看我的答案Getting error while uploading app on Windows Phone Store

微软应该纠正任何一个SDK中的错误。

票数 2
EN

Stack Overflow用户

发布于 2014-09-08 08:35:27

两个程序集在您的文件中列出两次:

代码语言:javascript
复制
<AssemblyPart x:Name="Microsoft.Advertising.Mobile" Source="Microsoft.Advertising.Mobile.dll" />
<AssemblyPart x:Name="Microsoft.Advertising.Mobile.UI" Source="Microsoft.Advertising.Mobile.UI.dll" />
<AssemblyPart x:Name="Microsoft.Advertising.Mobile" Source="Microsoft.Advertising.Mobile.dll" />
<AssemblyPart x:Name="Microsoft.Advertising.Mobile.UI" Source="Microsoft.Advertising.Mobile.UI.dll" />

删除副本可解决以下问题:

代码语言:javascript
复制
<AssemblyPart x:Name="Microsoft.Advertising.Mobile" Source="Microsoft.Advertising.Mobile.dll" />
<AssemblyPart x:Name="Microsoft.Advertising.Mobile.UI" Source="Microsoft.Advertising.Mobile.UI.dll" />
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/25720015

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档