Win Store Package fails always

Hi All

I have made a simple game which I am trying to create a package for the windows store.

My setup is

Unity community edition 2018,1.6f1
Visual Studio 2017 Preview 3

In Visual Studio after testing app I do

Project >> Store >> Create App Packages. In the wizard. Select my app from the list, then select the Master Configuration for all the items.

The error messages are different depending on the configuration you choose.

Here are the error messages for D3D

Severity Code Description Project File Line Suppression State
Error You can’t add both “C:\Users\XXX\Documents\XXX\Builds\D3D3\XXX\obj\x86\Master\PackageUploadLayout\Data\boot.config” and “C:\Users\Aspire\Documents\XXX\Builds\D3D3\XXX\obj\x86\Master\PackageLayout\Data\boot.config” to the output file as “Data\boot.config”. XXX C:\Users\XXX\Documents\XXX\Builds\D3D3\XXX\MakeAppx

The mapping file can’t be parsed. The error occurs at line 4783.

0x8007000b - An attempt was made to load a program with an incorrect format.

Package creation failed.

Also the 3299 Warnings…

1 Like

I thought it might be something with my project, so I tried to build the standard assets project. Will not compile.

Managed to get a XAML Build to be packaged.

Continuing from here: Unity Game project fails to be packaged for the Windows Store

What was the exact reason your app package was denied from the store?

As for that specific error: how do you get to that? I just tried building both XAML and D3D projects and creating packages for uploading to the windows store locally on 2018.1.0f1 and it built just fine.

The message from the store is

Icon assets must be provided in appropriate resolutions for all targeted devices. For information on creating and providing the appropriate icon assets, please see this page: Iconography in Windows - Windows apps | Microsoft Learn

So I pulled apart the appx and it contains every icon that the app manifest will generate. (52 icons) One thing I have noticed missing is the icon thats usually in the app title bar. It used to be an ico file, but there is no where to add an ico file in the project properties any more.

App images and package icons are definitely present in the app manifest.

To get the error messages.

  1. In Unity choose a build configuration. Set it to UWP. Leave everything else as default which the build type is D3D.

  2. Build the project in Unity which generates a project files.

  3. Open the project in Visual Studio. Build it and test the game. Using x86 on local machine.

  4. In Visual Studio do Project >> Store >> Create App Packages. In the wizard, select my app from the list, then select the Master Configuration for all the items. Press Next.

It compiles the apps for a bit then fails with different error messages are different depending on the configuration you choose. Here are the error messages for D3D

Severity Code Description Project File Line Suppression State
Error You can’t add both “C:\Users\XXX\Documents\XXX\Builds\D3D3\XXX\obj\x86\Master\PackageUploadLayout\Data\boot.config” and “C:\Users\Aspire\Documents\XXX\Builds\D3D3\XXX\obj\x86\Master\PackageLayout\Data\boot.config” to the output file as “Data\boot.config”. XXX C:\Users\XXX\Documents\XXX\Builds\D3D3\XXX\MakeAppx

The mapping file can’t be parsed. The error occurs at line 4783.

0x8007000b - An attempt was made to load a program with an incorrect format.

Package creation failed.

Also the 3299 Warnings…

So I must have something bad configuration or something on this machine.

  • I guess I have to uninstall Unity again.

  • Uninstall Visual Studio 2017.

  • Reinstall Visual Studio 2017.

  • Reinstall Unity.

Can you paste the full build log from the “Output” tab of Visual Studio? I cannot reproduce what you’re seeing. Can you also try an empty Unity project to see whether perhaps there is something project specific that has to do with this (in which case we’ll need a bug report to get to the bottom of it)?

Btw, I think reinstalling Unity will accomplish nothing.

I had no problem building and packaging a small project. I had no problem building and packaging the standard assets example project. I could build these with Visual Studio 2017. D3D Build Type.

Yes I can show the output. This is for a D3D build with VS Preview 3.

This is only the first error. All Visual Assets have been created so these errors really are bullshit errors. I can get passed this one by creating resources with the exact name (without the scale or other modifiers). Will do that in another post.

1>------ Build started: Project: Il2CppOutputProject, Configuration: Master Win32 ------
1>C:\Program Files (x86)\Microsoft Visual Studio\Preview\Community\Common7\IDE\VC\VCTargets\Microsoft.Cpp.props(31,3): warning MSB4011: “C:\Program Files (x86)\Microsoft Visual Studio\Preview\Community\Common7\IDE\VC\VCTargets\Microsoft.Makefile.props” cannot be imported again. It was already imported at “C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.cpp.props (31,3)”. This is most likely a build authoring error. This subsequent import will be ignored. [C:\Users\MyAccount\Documents\Unity Projects\My Project\Builds\D3D-P3\Il2CppOutputProject\Il2CppOutputProject.vcxproj]
1>Building GameAssembly.dll with MsvcWinRtToolChain.
1> Output directory: C:\Users\MyAccount\Documents\Unity Projects\My Project\Builds\D3D-P3\build\bin\Win32\Master
1> Cache directory: C:\Users\MyAccount\Documents\Unity Projects\My Project\Builds\D3D-P3\build\obj\il2cppOutputProject\Win32\Master
1>ObjectFiles: 574 of which compiled: 0
1>Total compilation time: 5727 milliseconds.
1>Encoding map file using command: C:\Users\MyAccount\Documents\Unity Projects\My Project\Builds\D3D-P3\Il2CppOutputProject\IL2CPP\MapFileParser\MapFileParser.exe -format=MSVC “C:\Users\MyAccount\Documents\Unity Projects\My Project\Builds\D3D-P3\build\bin\Win32\Master\GameAssembly.map” “C:\Users\MyAccount\Documents\Unity Projects\My Project\Builds\D3D-P3\build\bin\Win32\Master\SymbolMap”
1>Cleaned up 1 object files.
2>------ Build started: Project: My Project, Configuration: Master Win32 ------
2>My Project.vcxproj → C:\Users\MyAccount\Documents\Unity Projects\My Project\Builds\D3D-P3\build\bin\Win32\Master\My Project.exe
2>Package.appxmanifest(19,96): error APPX3210: App manifest references the image ‘Assets\Square71x71Logo.png’ which does not have a candidate in main app package.
2>Package.appxmanifest(18,54): error APPX3210: App manifest references the image ‘Assets\Square150x150Logo.png’ which does not have a candidate in main app package.
2>Package.appxmanifest(19,51): error APPX3210: App manifest references the image ‘Assets\Wide310x150Logo.png’ which does not have a candidate in main app package.
2>Package.appxmanifest(19,141): error APPX3210: App manifest references the image ‘Assets\Square310x310Logo.png’ which does not have a candidate in main app package.
2>Package.appxmanifest(18,103): error APPX3210: App manifest references the image ‘Assets\Square44x44Logo.png’ which does not have a candidate in main app package.
2>Package.appxmanifest(8,6): error APPX3210: App manifest references the image ‘Assets\StoreLogo.png’ which does not have a candidate in main app package.
2>Package.appxmanifest(26,27): error APPX3210: App manifest references the image ‘Assets\SplashScreen.png’ which does not have a candidate in main app package.
2>Done building project “My Project.vcxproj” – FAILED.
========== Build: 1 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
========== Package: 0 succeeded, 3 failed ===========

Can you open “My Project.vcxproj” and “Package.appxmanifest” in a text editor and paste the contents?

I can post them deidentified versions

<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup Label="Globals">
    <ProjectGuid>{2fabdf39-a3a3-4497-95ba-5aee089ebf0f}</ProjectGuid>
    <RootNamespace>My_App</RootNamespace>
    <DefaultLanguage>en-US</DefaultLanguage>
    <MinimumVisualStudioVersion>14.0</MinimumVisualStudioVersion>
    <AppContainerApplication>true</AppContainerApplication>
    <ApplicationType>Windows Store</ApplicationType>
    <WindowsTargetPlatformVersion>10.0.17134.0</WindowsTargetPlatformVersion>
    <WindowsTargetPlatformMinVersion>10.0.10240.0</WindowsTargetPlatformMinVersion>
    <ApplicationTypeRevision>10.0</ApplicationTypeRevision>
    <PackageCertificateKeyFile>My App_StoreKey.pfx</PackageCertificateKeyFile>
  </PropertyGroup>
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
  <ItemGroup Label="ProjectConfigurations">
    <ProjectConfiguration Include="Debug|ARM">
      <Configuration>Debug</Configuration>
      <Platform>ARM</Platform>
    </ProjectConfiguration>
    <ProjectConfiguration Include="Debug|Win32">
      <Configuration>Debug</Configuration>
      <Platform>Win32</Platform>
    </ProjectConfiguration>
    <ProjectConfiguration Include="Debug|x64">
      <Configuration>Debug</Configuration>
      <Platform>x64</Platform>
    </ProjectConfiguration>
    <ProjectConfiguration Include="Master|ARM">
      <Configuration>Master</Configuration>
      <Platform>ARM</Platform>
    </ProjectConfiguration>
    <ProjectConfiguration Include="Master|Win32">
      <Configuration>Master</Configuration>
      <Platform>Win32</Platform>
    </ProjectConfiguration>
    <ProjectConfiguration Include="Master|x64">
      <Configuration>Master</Configuration>
      <Platform>x64</Platform>
    </ProjectConfiguration>
    <ProjectConfiguration Include="Release|ARM">
      <Configuration>Release</Configuration>
      <Platform>ARM</Platform>
    </ProjectConfiguration>
    <ProjectConfiguration Include="Release|Win32">
      <Configuration>Release</Configuration>
      <Platform>Win32</Platform>
    </ProjectConfiguration>
    <ProjectConfiguration Include="Release|x64">
      <Configuration>Release</Configuration>
      <Platform>x64</Platform>
    </ProjectConfiguration>
  </ItemGroup>
  <PropertyGroup Condition="'$(Configuration)'=='Debug'" Label="Configuration">
    <ConfigurationType>Application</ConfigurationType>
    <UseDebugLibraries>true</UseDebugLibraries>
    <PlatformToolset>v141</PlatformToolset>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)'=='Release'" Label="Configuration">
    <ConfigurationType>Application</ConfigurationType>
    <UseDebugLibraries>false</UseDebugLibraries>
    <WholeProgramOptimization>true</WholeProgramOptimization>
    <PlatformToolset>v141</PlatformToolset>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)'=='Master'" Label="Configuration">
    <ConfigurationType>Application</ConfigurationType>
    <UseDebugLibraries>false</UseDebugLibraries>
    <WholeProgramOptimization>true</WholeProgramOptimization>
    <PlatformToolset>v141</PlatformToolset>
  </PropertyGroup>
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
  <ImportGroup Label="ExtensionSettings">
  </ImportGroup>
  <ImportGroup Label="PropertySheets">
    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
  </ImportGroup>
  <PropertyGroup Label="UserMacros" />
  <PropertyGroup>
    <OutDir>$(SolutionDir)build\bin\$(Platform)\$(Configuration)\</OutDir>
    <IntDir>$(SolutionDir)build\obj\$(MSBuildProjectName)\$(Platform)\$(Configuration)\</IntDir>
    <AppxBundle>Auto</AppxBundle>
    <GenerateAppInstallerFile>False</GenerateAppInstallerFile>
    <AppxAutoIncrementPackageRevision>True</AppxAutoIncrementPackageRevision>
    <AppxBundlePlatforms>x86|x64|arm</AppxBundlePlatforms>
    <PackageCertificateThumbprint>3D7098143D343A5D4E3ED00127CE3E5456452B29</PackageCertificateThumbprint>
    <AppInstallerUpdateFrequency>1</AppInstallerUpdateFrequency>
    <AppInstallerCheckForUpdateFrequency>OnApplicationRun</AppInstallerCheckForUpdateFrequency>
  </PropertyGroup>
  <ItemDefinitionGroup>
    <ClCompile>
      <AdditionalOptions>/bigobj %(AdditionalOptions)</AdditionalOptions>
      <DisableSpecificWarnings>4447;4453;4451;4691;28204</DisableSpecificWarnings>
      <PreprocessorDefinitions>_UNICODE;UNICODE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
      <AdditionalIncludeDirectories>$(ProjectDir);$(GeneratedFilesDir);$(IntDir);$(SolutionDir)Il2CppOutputProject\Source\CppPlugins;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
    </ClCompile>
    <Link>
      <AdditionalDependencies>WindowsApp.lib;$(OutDir)GameAssembly.lib;%(AdditionalDependencies)</AdditionalDependencies>
    </Link>
  </ItemDefinitionGroup>
  <ItemGroup>
    <ClCompile Include="App.cpp">
    </ClCompile>
    <ClInclude Include="App.h">
    </ClInclude>
    <ClCompile Include="Main.cpp">
    </ClCompile>
    <AppxManifest Include="Package.appxmanifest">
      <SubType>Designer</SubType>
    </AppxManifest>
    <ClCompile Include="pch.cpp">
      <PrecompiledHeader>Create</PrecompiledHeader>
    </ClCompile>
    <ClInclude Include="pch.h">
    </ClInclude>
    <None Include="My App_StoreKey.pfx" />
    <None Include="WSATestCertificate.pfx">
    </None>
    <None Include="Assets\SplashScreen.scale-100.png">
      <DeploymentContent>true</DeploymentContent>
      <ExcludeFromResourceIndex>true</ExcludeFromResourceIndex>
    </None>
    <None Include="Assets\SplashScreen.scale-125.png">
      <DeploymentContent>true</DeploymentContent>
      <ExcludeFromResourceIndex>true</ExcludeFromResourceIndex>
    </None>
    <None Include="Assets\SplashScreen.scale-150.png">
      <DeploymentContent>true</DeploymentContent>
      <ExcludeFromResourceIndex>true</ExcludeFromResourceIndex>
    </None>
    <None Include="Assets\SplashScreen.scale-200.png">
      <DeploymentContent>true</DeploymentContent>
      <ExcludeFromResourceIndex>true</ExcludeFromResourceIndex>
    </None>
    <None Include="Assets\SplashScreen.scale-400.png">
      <DeploymentContent>true</DeploymentContent>
      <ExcludeFromResourceIndex>true</ExcludeFromResourceIndex>
    </None>
    <None Include="Assets\Square150x150Logo.scale-100.png">
      <DeploymentContent>true</DeploymentContent>
      <ExcludeFromResourceIndex>true</ExcludeFromResourceIndex>
    </None>
    <None Include="Assets\Square150x150Logo.scale-125.png">
      <DeploymentContent>true</DeploymentContent>
      <ExcludeFromResourceIndex>true</ExcludeFromResourceIndex>
    </None>
    <None Include="Assets\Square150x150Logo.scale-150.png">
      <DeploymentContent>true</DeploymentContent>
      <ExcludeFromResourceIndex>true</ExcludeFromResourceIndex>
    </None>
    <None Include="Assets\Square150x150Logo.scale-200.png">
      <DeploymentContent>true</DeploymentContent>
      <ExcludeFromResourceIndex>true</ExcludeFromResourceIndex>
    </None>
    <None Include="Assets\Square150x150Logo.scale-400.png">
      <DeploymentContent>true</DeploymentContent>
      <ExcludeFromResourceIndex>true</ExcludeFromResourceIndex>
    </None>
    <None Include="Assets\Square310x310Logo.scale-100.png">
      <DeploymentContent>true</DeploymentContent>
      <ExcludeFromResourceIndex>true</ExcludeFromResourceIndex>
    </None>
    <None Include="Assets\Square310x310Logo.scale-125.png">
      <DeploymentContent>true</DeploymentContent>
      <ExcludeFromResourceIndex>true</ExcludeFromResourceIndex>
    </None>
    <None Include="Assets\Square310x310Logo.scale-150.png">
      <DeploymentContent>true</DeploymentContent>
      <ExcludeFromResourceIndex>true</ExcludeFromResourceIndex>
    </None>
    <None Include="Assets\Square310x310Logo.scale-200.png">
      <DeploymentContent>true</DeploymentContent>
      <ExcludeFromResourceIndex>true</ExcludeFromResourceIndex>
    </None>
    <None Include="Assets\Square310x310Logo.scale-400.png">
      <DeploymentContent>true</DeploymentContent>
      <ExcludeFromResourceIndex>true</ExcludeFromResourceIndex>
    </None>
    <None Include="Assets\Square44x44Logo.scale-100.png">
      <DeploymentContent>true</DeploymentContent>
      <ExcludeFromResourceIndex>true</ExcludeFromResourceIndex>
    </None>
    <None Include="Assets\Square44x44Logo.scale-125.png">
      <DeploymentContent>true</DeploymentContent>
      <ExcludeFromResourceIndex>true</ExcludeFromResourceIndex>
    </None>
    <None Include="Assets\Square44x44Logo.scale-150.png">
      <DeploymentContent>true</DeploymentContent>
      <ExcludeFromResourceIndex>true</ExcludeFromResourceIndex>
    </None>
    <None Include="Assets\Square44x44Logo.scale-200.png">
      <DeploymentContent>true</DeploymentContent>
      <ExcludeFromResourceIndex>true</ExcludeFromResourceIndex>
    </None>
    <None Include="Assets\Square44x44Logo.scale-400.png">
      <DeploymentContent>true</DeploymentContent>
      <ExcludeFromResourceIndex>true</ExcludeFromResourceIndex>
    </None>
    <None Include="Assets\Square44x44Logo.targetsize-16.png">
      <DeploymentContent>true</DeploymentContent>
      <ExcludeFromResourceIndex>true</ExcludeFromResourceIndex>
    </None>
    <None Include="Assets\Square44x44Logo.targetsize-16_altform-unplated.png">
      <DeploymentContent>true</DeploymentContent>
      <ExcludeFromResourceIndex>true</ExcludeFromResourceIndex>
    </None>
    <None Include="Assets\Square44x44Logo.targetsize-24.png">
      <DeploymentContent>true</DeploymentContent>
      <ExcludeFromResourceIndex>true</ExcludeFromResourceIndex>
    </None>
    <None Include="Assets\Square44x44Logo.targetsize-24_altform-unplated.png">
      <DeploymentContent>true</DeploymentContent>
      <ExcludeFromResourceIndex>true</ExcludeFromResourceIndex>
    </None>
    <None Include="Assets\Square44x44Logo.targetsize-256.png">
      <DeploymentContent>true</DeploymentContent>
      <ExcludeFromResourceIndex>true</ExcludeFromResourceIndex>
    </None>
    <None Include="Assets\Square44x44Logo.targetsize-256_altform-unplated.png">
      <DeploymentContent>true</DeploymentContent>
      <ExcludeFromResourceIndex>true</ExcludeFromResourceIndex>
    </None>
    <None Include="Assets\Square44x44Logo.targetsize-32.png">
      <DeploymentContent>true</DeploymentContent>
      <ExcludeFromResourceIndex>true</ExcludeFromResourceIndex>
    </None>
    <None Include="Assets\Square44x44Logo.targetsize-32_altform-unplated.png">
      <DeploymentContent>true</DeploymentContent>
      <ExcludeFromResourceIndex>true</ExcludeFromResourceIndex>
    </None>
    <None Include="Assets\Square44x44Logo.targetsize-48.png">
      <DeploymentContent>true</DeploymentContent>
      <ExcludeFromResourceIndex>true</ExcludeFromResourceIndex>
    </None>
    <None Include="Assets\Square44x44Logo.targetsize-48_altform-unplated.png">
      <DeploymentContent>true</DeploymentContent>
      <ExcludeFromResourceIndex>true</ExcludeFromResourceIndex>
    </None>
    <None Include="Assets\Square71x71Logo.scale-100.png">
      <DeploymentContent>true</DeploymentContent>
      <ExcludeFromResourceIndex>true</ExcludeFromResourceIndex>
    </None>
    <None Include="Assets\Square71x71Logo.scale-125.png">
      <DeploymentContent>true</DeploymentContent>
      <ExcludeFromResourceIndex>true</ExcludeFromResourceIndex>
    </None>
    <None Include="Assets\Square71x71Logo.scale-150.png">
      <DeploymentContent>true</DeploymentContent>
      <ExcludeFromResourceIndex>true</ExcludeFromResourceIndex>
    </None>
    <None Include="Assets\Square71x71Logo.scale-200.png">
      <DeploymentContent>true</DeploymentContent>
      <ExcludeFromResourceIndex>true</ExcludeFromResourceIndex>
    </None>
    <None Include="Assets\Square71x71Logo.scale-400.png">
      <DeploymentContent>true</DeploymentContent>
      <ExcludeFromResourceIndex>true</ExcludeFromResourceIndex>
    </None>
    <None Include="Assets\StoreLogo.scale-100.png">
      <DeploymentContent>true</DeploymentContent>
      <ExcludeFromResourceIndex>true</ExcludeFromResourceIndex>
    </None>
    <None Include="Assets\StoreLogo.scale-125.png">
      <DeploymentContent>true</DeploymentContent>
      <ExcludeFromResourceIndex>true</ExcludeFromResourceIndex>
    </None>
    <None Include="Assets\StoreLogo.scale-150.png">
      <DeploymentContent>true</DeploymentContent>
      <ExcludeFromResourceIndex>true</ExcludeFromResourceIndex>
    </None>
    <None Include="Assets\StoreLogo.scale-200.png">
      <DeploymentContent>true</DeploymentContent>
      <ExcludeFromResourceIndex>true</ExcludeFromResourceIndex>
    </None>
    <None Include="Assets\StoreLogo.scale-400.png">
      <DeploymentContent>true</DeploymentContent>
      <ExcludeFromResourceIndex>true</ExcludeFromResourceIndex>
    </None>
    <None Include="Assets\Wide310x150Logo.scale-100.png">
      <DeploymentContent>true</DeploymentContent>
      <ExcludeFromResourceIndex>true</ExcludeFromResourceIndex>
    </None>
    <None Include="Assets\Wide310x150Logo.scale-125.png">
      <DeploymentContent>true</DeploymentContent>
      <ExcludeFromResourceIndex>true</ExcludeFromResourceIndex>
    </None>
    <None Include="Assets\Wide310x150Logo.scale-150.png">
      <DeploymentContent>true</DeploymentContent>
      <ExcludeFromResourceIndex>true</ExcludeFromResourceIndex>
    </None>
    <None Include="Assets\Wide310x150Logo.scale-200.png">
      <DeploymentContent>true</DeploymentContent>
      <ExcludeFromResourceIndex>true</ExcludeFromResourceIndex>
    </None>
    <None Include="Assets\Wide310x150Logo.scale-400.png">
      <DeploymentContent>true</DeploymentContent>
      <ExcludeFromResourceIndex>true</ExcludeFromResourceIndex>
    </None>
  </ItemGroup>
  <ItemGroup>
    <SDKReference Include="WindowsMobile, Version=10.0.17134.0" />
  </ItemGroup>
  <ItemGroup>
    <None Include="Package.StoreAssociation.xml" />
  </ItemGroup>
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
  <Import Project="Unity Data.vcxitems" Label="Unity Data" />
  <ImportGroup Label="ExtensionTargets">
  </ImportGroup>
</Project>
<?xml version="1.0" encoding="utf-8"?>
<Package xmlns:mp="http://schemas.microsoft.com/appx/2014/phone/manifest" xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10" xmlns:uap2="http://schemas.microsoft.com/appx/manifest/uap/windows10/2" xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10" IgnorableNamespaces="uap uap2 mp">
  <Identity Name="MyAppStoreID" Publisher="CN=XXX" Version="1.1.0.0" />
  <mp:PhoneIdentity PhoneProductId="5fd0831c-678d-4a4a-bceb-ca5c1d3127b7" PhonePublisherId="00000000-0000-0000-0000-000000000000" />
  <Properties>
    <DisplayName>MyApp</DisplayName>
    <PublisherDisplayName>MyID</PublisherDisplayName>
    <Logo>Assets\StoreLogo.png</Logo>
  </Properties>
  <Dependencies>
    <TargetDeviceFamily Name="Windows.Universal" MinVersion="10.0.10240.0" MaxVersionTested="10.0.17134.0" />
  </Dependencies>
  <Resources>
    <Resource Language="x-generate" />
  </Resources>
  <Applications>
    <Application Id="App" Executable="$targetnametoken$.exe" EntryPoint="MyAppStoreID.App">
      <uap:VisualElements DisplayName="MyApp" Square150x150Logo="Assets\Square150x150Logo.png" Square44x44Logo="Assets\Square44x44Logo.png" Description="MyApp" BackgroundColor="#505050">
        <uap:smile:efaultTile ShortName="MyApp" Wide310x150Logo="Assets\Wide310x150Logo.png" Square71x71Logo="Assets\Square71x71Logo.png" Square310x310Logo="Assets\Square310x310Logo.png">
          <uap:ShowNameOnTiles>
            <uap:ShowOn Tile="square150x150Logo" />
            <uap:ShowOn Tile="wide310x150Logo" />
            <uap:ShowOn Tile="square310x310Logo" />
          </uap:ShowNameOnTiles>
        </uap:smile:efaultTile>
        <uap:SplashScreen Image="Assets\SplashScreen.png" BackgroundColor="#FFFFFF" />
        <uap:InitialRotationPreference>
          <uap:Rotation Preference="portrait" />
          <uap:Rotation Preference="landscape" />
          <uap:Rotation Preference="portraitFlipped" />
          <uap:Rotation Preference="landscapeFlipped" />
        </uap:InitialRotationPreference>
      </uap:VisualElements>
    </Application>
  </Applications>
</Package>

What’s exact version of Visual Studio are you using? You can find it in HELP → About Visual Studio.

Microsoft Visual Studio Community 2017
Version 15.7.5

Microsoft Visual Studio Community 2017 Preview
Version 15.8.0 Preview 4.0

Updates came yesterday for both Visual Studios
Used to be Preview 3, now 4

Looks like it was a Visual Studio issue that started happening with 15.8 update: VS 2017 update 15.8 and Unity 2018.2, can't deploy.

We’ll be addressing it but for now there is a workaround.

1 Like

Same here
You can’t add both “C:\Users\XXX\Desktop\XX\obj\x86\Master\PackageUploadLayout\Data\boot.config” and “C:\Users\XX\Desktop\XX\XX\obj\x86\Master\PackageLayout\Data\boot.config” to the output file as “Data\boot.config”.

I just updated visual studio its 15.8.1. everything was working even got approve from MS. can remember what was the version of VS that i used to build old one.

where is workaround ?

1 Like

Just Got Visual Studio 2017 15.7.6 version. works like a charm.
So Here is my Solution is anyone will search this kind of problem DONT USE VS 2017 15.8.X.
Downgrade to 15.7.6 and you will be good :slight_smile: Microsoft certification also passed.

Here is the link for old version also :slight_smile:

Thanks StormBringerStudios, Will try that.

Yes, that was just what I needed. Submitted Game.

Thanks again StormBringerStudios.

I’m escalating this with Microsoft (Developer Community), as it seems that “You can’t add both xxx and xxx to the output file as xxx” error is a regression on their side. I’ll update this thread as our investigation progresses. Strangely enough, it only happens if you build the package when your Visual Studio project is associated with an app on the store - building a package without that does not trigger the issue. This is why we were not able to reproduce this at first.