Grund für / Reason for: XAP file is invalid

For german version see below.

Today my last update for my App Bahn Connector was rejected. Reason was: „XAP file is invalid“. I could understand why. I was about to send in my new version but decided to check this one first. So I started the „Application Deployment“ tool which is included in the Phone SDK. I thought that it had to work because everthing worked with Visual Studio but to my suprise the Status showed „XAP file is invalid“. I searched for 2 hours befor I figured out what the problem was.

As it turned out the XAP-file format doesn’t support all file names. 2 of 26 txt files I added to the XAP had names with the german characters „Ö“ and „Ü“. I exludes these files from the project and rebuild the project. And voila, no more errors.

I was really pissed that such a basic thing isn’t supported and that there is no info to this problem anywhere.

I hope I could help some of you.

(Feel free to point out any mistakes I made language wise)

——–

Heute wurde mein letztes Update für meine App Bahn Connector abgewiesen. Grund: „XAP file is invalid“. Ich konnte nicht verstehen warum und wollte beinahe schon meine nächste Version hochladen, mit dem Glauben, dass diese Version klappen sollte, da alles mit Visual Studio auch funktioniert. Aber im letzten Schritt habe ich mir überlegt doch nochmal mit dem „Application Deployment“ tool, welches im Phone SDK enthalten ist, zu checken, ob alles funktionert und beim Status kam „XAP file is invalid“. Ich habe dann 2 Stunden dran gesessen, bis ich das Problem gefunden habe.

So wie es aussieht unterstützt das XAP-Dateiformat keine Ö,Ä und Ü. Nachdem ich 2 txt Dateien die ein Ö und Ü enthielten aus dem Projekt ausgeschlossen hatte, gab es keine Probleme mehr.

Ich hoffe ich habe ein paar von euch ewiges suche nach einer Lösung ersparrt.

 

dehodev

3 Gedanken zu „Grund für / Reason for: XAP file is invalid

  1. Pingback: Anonymous

Hinterlasse eine Antwort zu Stefan Lieser Antwort abbrechen