Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/windows-phone-8/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Windows phone 8 APPManifest中出现错误_Windows Phone 8 - Fatal编程技术网

Windows phone 8 APPManifest中出现错误

Windows phone 8 APPManifest中出现错误,windows-phone-8,Windows Phone 8,我正在使用Unity for windows phone开发一个游戏,AppManifest.XAML文件出现问题,Visual Studio正在生成包含两行重复的Microsoft.Advertising.Mobile和Microsoft DLL的AppManifest。广告移动用户界面。商店拒绝接受我的包裹。我该如何解决这个问题 PS:Microsoft.Advertising.Mobile.UI和Microsoft.Advertising.Mobile 都是复制品 您不需要定义: Ass

我正在使用Unity for windows phone开发一个游戏,AppManifest.XAML文件出现问题,Visual Studio正在生成包含两行重复的Microsoft.Advertising.Mobile和Microsoft DLL的AppManifest。广告移动用户界面。商店拒绝接受我的包裹。我该如何解决这个问题

PS:Microsoft.Advertising.Mobile.UI和Microsoft.Advertising.Mobile 都是复制品


您不需要定义: AssemblyPart x:Name=“Microsoft.Advertising.Mobile.UI”
因为它是Microsoft.Advertising.Mobile的产物。尝试删除它。

这通常意味着同一个库有两个不同的版本。转到项目中的引用并签出重复项。这些DLL不在我对项目的引用中,visual Studio正在appmanifest.xaml中自动生成。xap中的文件具有重复的行
<Deployment xmlns="http://schemas.microsoft.com/client/2007/deployment" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" EntryPointAssembly="MeuApp" EntryPointType="MeuApp.App" RuntimeVersion="4.7.50308.0">
  <Deployment.Parts>
    <AssemblyPart x:Name="MeuApp" Source="MeuApp.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="Assembly-CSharp" Source="Assembly-CSharp.dll" />
    <AssemblyPart x:Name="Assembly-UnityScript" Source="Assembly-UnityScript.dll" />
    <AssemblyPart x:Name="Boo.Lang" Source="Boo.Lang.dll" />
    <AssemblyPart x:Name="GoogleAds" Source="GoogleAds.dll" />
    <AssemblyPart x:Name="UnityEngine" Source="UnityEngine.dll" />
    <AssemblyPart x:Name="UnityEngineProxy" Source="UnityEngineProxy.dll" />
    <AssemblyPart x:Name="WindowsHelperPlugin" Source="WindowsHelperPlugin.dll" />
    <AssemblyPart x:Name="Windows_Ad_Plugin" Source="Windows_Ad_Plugin.dll" />
    <AssemblyPart x:Name="WinRTBridge" Source="WinRTBridge.dll" />
    <AssemblyPart x:Name="WinRTLegacy" Source="WinRTLegacy.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.Phone.Controls.Maps" Source="Microsoft.Phone.Controls.Maps.dll" />
    <AssemblyPart x:Name="BridgeInterface" Source="BridgeInterface.dll" />
    <AssemblyPart x:Name="UnityEngineDelegates" Source="UnityEngineDelegates.dll" />
    <AssemblyPart x:Name="UnityPlayer" Source="UnityPlayer.dll" />
  </Deployment.Parts>
</Deployment>