locked
Help me spot the duplicate files in AppManifest.xml

    Question

  • I am trying to submit my app, but i keep getting an Error 2001 (duplicate files in AppManifest.xml). This file is generated by Visual Studio 2010, and here's what it looks like:

    <Deployment xmlns="http://schemas.microsoft.com/client/2007/deployment" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" EntryPointAssembly="TipAppWP" EntryPointType="TimePanic.App.TipApp" RuntimeVersion="4.7.50308.0">
      <Deployment.Parts>
        <AssemblyPart x:Name="TipAppWP" Source="TipAppWP.dll" />
        <AssemblyPart x:Name="Microsoft.Expression.Interactions" Source="Microsoft.Expression.Interactions.dll" />
        <AssemblyPart x:Name="Microsoft.Phone.Controls" Source="Microsoft.Phone.Controls.dll" />
        <AssemblyPart x:Name="Microsoft.Phone.Controls.Toolkit" Source="Microsoft.Phone.Controls.Toolkit.dll" />
        <AssemblyPart x:Name="System.Windows.Interactivity" Source="System.Windows.Interactivity.dll" />
        <AssemblyPart x:Name="TipCafe" Source="TipCafe.dll" />
        <AssemblyPart x:Name="TipCafeBase" Source="TipCafeBase.dll" />
        <AssemblyPart x:Name="TipCafeWP" Source="TipCafeWP.dll" />
        <AssemblyPart x:Name="TipCafeXmlLinq" Source="TipCafeXmlLinq.dll" />
        <AssemblyPart x:Name="TipLatte" Source="TipLatte.dll" />
        <AssemblyPart x:Name="TipLatteBase" Source="TipLatteBase.dll" />
        <AssemblyPart x:Name="TipLatteWP" Source="TipLatteWP.dll" />
        <AssemblyPart x:Name="TipLatteXmlLinq" Source="TipLatteXmlLinq.dll" />
        <AssemblyPart x:Name="TipSync" Source="TipSync.dll" />
        <AssemblyPart x:Name="TipSyncBase" Source="TipSyncBase.dll" />
        <AssemblyPart x:Name="TipSyncWP" Source="TipSyncWP.dll" />
        <AssemblyPart x:Name="TipSyncXmlLinq" Source="TipSyncXmlLinq.dll" />
        <AssemblyPart x:Name="Microsoft.Xna.Framework" Source="Microsoft.Xna.Framework.dll" />
        <AssemblyPart Source="de-DE/TipAppWP.resources.dll" />
        <AssemblyPart Source="fr-FR/TipAppWP.resources.dll" />
        <AssemblyPart Source="de-DE/Microsoft.Phone.Controls.Toolkit.resources.dll" />
        <AssemblyPart Source="fr-FR/Microsoft.Phone.Controls.Toolkit.resources.dll" />
      </Deployment.Parts>
    </Deployment>
    

    There are no duplicate files, except for some localization files that have the same name but are located in different folders. I tried to edit the AppManifest.xml file manually before submitting the XAP file, I even went as far as removing everything except for the main DLL (which would give me a different error if I removed that one, too):

    <Deployment xmlns="http://schemas.microsoft.com/client/2007/deployment" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" EntryPointAssembly="TipAppWP" EntryPointType="TimePanic.App.TipApp" RuntimeVersion="4.7.50308.0">
      <Deployment.Parts>
        <AssemblyPart x:Name="TipAppWP" Source="TipAppWP.dll" />
      </Deployment.Parts>
    </Deployment>

    But the submission engine still rejects the XAP for the same reason: Error 2001, duplicate files in AppManifest.xml. What am I doing wrong? I am totally lost on this problem, please help!

    Friday, December 14, 2012 2:21 PM

All replies

  • Seems like I am also hitting the same issue, looks to me like due to customization and recompilation of  Microsoft.Phone.Controls.Toolkit.dll
    Did you find a solution to this problem, please let us know.

    Thanks,

    Gangadhar

    Friday, March 22, 2013 4:48 PM