locked
[UWP]UTF-8 AppxManifest.xml file missing BOM RRS feed

  • Question

  • It's about VS2015 create Windows 10 UAP package.


    We know in windows, when parse utf8 text, need 3 bytes header( EF BB BF) at the front of all bytes. If it don't exits, and

    the text contains some none-ACSII character, the parsing will take some wrong result!


    But!!!! When we use VS2015 to create Windows 10 UAP package, the file "AppxManifest.xml" in the *.appx or other package

    format(not in the Release folder)(use WinRAR to open it), the 3 bytes had been removed by someone!!! It cause all None-

    English app(if the app name or somewhere contains none-ACSII character) break!!!!!


    Why the file "AppxManifest.xml" in the Release folder is correct, but in the package is wrong?! Who did it on purpose??

    should your fire this man??


    Friday, September 18, 2015 1:51 AM

Answers

All replies

  • Hello WYB,

    1. Are you using Chinese version of visual studio?

    2. How are you checking the headers?

    3. Can you please provide sample demo in which we can reproduce this issue so we can check it out what is causing this?

    With Regards,

    Krunal Parekh


    Thanks MSDN Community Support Please remember to Mark as Answer the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.

    Monday, September 21, 2015 8:50 AM
  • 1. Yes, VS2015 Chinese version.

    2. After created AppStore package, use WinRAR to open the "xxx.appxupload" file, and then double click the "xxx.appxbundle" file in it, WinRAR will open this file, and double click the file like "xxx.appx", you'll see "AppxManifest.xml", drop it out, use tool like "Binary Viewer", you can see it lost the UTF8 header which: "EF BB BF".

    3. Create any Windows10 app, you'll see it.

    But I'll say sorry to you, the lost of UTF8 header don't cause my problem, When I add all size of Tile and SplashScreen, it works!! But I feel a little sad, because VS2015 never tells me a clear message!!

    When I update the "Windows10 uap pack tool" from 1.0 to 1.1 in VS 2015, Oh, all project which created by Unity3d 5.2.0 can't pack appxupload file any more!! It cause a exception like: "AppxManifest referenced a file 'xxx.dll' which is not exits in payload". All my friends who update the "Windows10 uap pack tool" from 1.0 to 1.1 in VS 2015 bring this same exception............

    So, I reinstall the VS2015, use "Windows10 uap pack tool" version 1.0, and fill all kinds of, all sizes of Tile file, SplashScreen. It works!!........

    Monday, September 21, 2015 10:28 AM
  • Hello WYB,

    >>When I update the "Windows10 uap pack tool" from 1.0 to 1.1 in VS 2015, Oh, all project which created by Unity3d 5.2.0 can't pack appxupload file any more!! It cause a exception like: "AppxManifest referenced a file 'xxx.dll' which is not exits in payload".

    This is a known issue in update 1.1

    Please see: https://social.msdn.microsoft.com/Forums/en-US/73f2d56d-9e8e-4b57-bcfa-0a972dfd75d7/update-11-generating-store-associated-package-fails-for-a-uwp-application-with-a-winrt-component?forum=Win10SDKToolsIssues

    To workaround this issue, add the below ItemGroup in your project file and regenerate the package.

    <ItemGroup>

      <AppxSystemBinary Include="<Assembly Mentioned in the error>" />

    </ItemGroup>

    With Regards,

    Krunal Parekh


    Thanks MSDN Community Support Please remember to Mark as Answer the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.

    Tuesday, September 22, 2015 1:45 AM
  • thanks a lot
    Friday, September 25, 2015 3:48 AM