This is a migrated thread and some comments may be shown as answers.

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

3 Answers 106 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Simon
Top achievements
Rank 1
Simon asked on 31 Dec 2012, 05:12 PM
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

3 Answers, 1 is accepted

Sort by
0
Simon
Top achievements
Rank 1
answered on 03 Jan 2013, 09:56 AM
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\

 
0
Remco
Top achievements
Rank 1
answered on 10 Feb 2013, 09:54 PM
Also looking for a solution, including postbuild events is nice workaround but certainly not a preferred one.
0
Ryan
Top achievements
Rank 1
answered on 13 Feb 2013, 01:49 AM
Thanks, the post-build event worked for me. However, I'd also prefer a more elegant solution!
Tags
General Discussions
Asked by
Simon
Top achievements
Rank 1
Answers by
Simon
Top achievements
Rank 1
Remco
Top achievements
Rank 1
Ryan
Top achievements
Rank 1
Share this question
or