Windows Phone 8: Some files are not added to XAP file on build

4 posts, 0 answers
  1. Simon
    Simon avatar
    11 posts
    Member since:
    May 2011

    Posted 31 Dec 2012 Link to this post

    I'm building a Windows Phone 8 app in which I'm using the Telerik Rad Controls for WP8. The app is localised to en-US, en-GB, da-DK, de-DE, fr-FR, es-ES & it-IT. When I run the Store Test Kit I get the following error;

    [ERROR]: A file registered in the AppManifest.xaml is missing: fr-FR/Telerik.Windows.Controls.Input.resources.dll.
    [ERROR]: A file registered in the AppManifest.xaml is missing: it-IT/Telerik.Windows.Controls.Input.resources.dll.
    [ERROR]: A file registered in the AppManifest.xaml is missing: it-IT/Telerik.Windows.Controls.Primitives.resources.dll.

    The file are present in the relative /Bin/Release folders but are not being included in the .xap file. I've cracked open the xap and the correct files are added for all other languages but the above 3 are definitely missing. 

    I'm using the latest build of RadControls (2012.3.1211 DEC. 11, 2012) 

    Does anyone have any idea what the problem may be?

    Cheers
    Si
  2. Simon
    Simon avatar
    11 posts
    Member since:
    May 2011

    Posted 03 Jan 2013 Link to this post

    It appears others are having similar problems but no solutions: stackoverflow.com/questions/13449614/app-submission-fails-with-1016-related-to-microsoft-advertising-mobile-resources

    As a work around the files can be added post-build and the xap then passes the Store Test Kit (and I assume will pass certification!). 

    I have 7zip installed so to fix my specific issue I used the following Post-build event command lines:

    "C:\Program Files\7-Zip\7z.exe" a -tzip $(TargetDir)<YOUR XAP FILE NAME>.xap $(TargetDir)it-IT\
    "C:\Program Files\7-Zip\7z.exe" a -tzip $(TargetDir)<YOUR XAP FILE NAME>.xap $(TargetDir)fr-FR\

     
  3. DevCraft banner
  4. Remco
    Remco avatar
    1 posts
    Member since:
    Nov 2012

    Posted 10 Feb 2013 Link to this post

    Also looking for a solution, including postbuild events is nice workaround but certainly not a preferred one.
  5. Ryan
    Ryan avatar
    1 posts
    Member since:
    Jan 2013

    Posted 12 Feb 2013 Link to this post

    Thanks, the post-build event worked for me. However, I'd also prefer a more elegant solution!
Back to Top
DevCraft banner