我正在使用Unity for Windows手机开发游戏,而我在AppManifest.XAML文件中遇到问题,Visual Studio正在使用两个重复的Microsoft.Advertising.Mobile和Microsoft dll行生成appmanifest 。广告。移动UI。商店拒绝我的包裹。我该如何解决这个问题?
PS:Microsoft.Advertising.Mobile.UI和Microsoft.Advertising.Mobile 是重复的
<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>
答案 0 :(得分:-1)
您不需要定义: AssemblyPart x:Name =&#34; Microsoft.Advertising.Mobile.UI&#34; 作为Microsoft.Advertising.Mobile的孩子。尝试删除它。