Can't publish ARM64 binary : GENERATEPROJECTPRIFILE : error : PRI180: 0x80070057

Stéphane Denis 1 Reputation point
2021-03-10T21:54:03.003+00:00

Hello;

With Visual Studio 2019 Version 16.8.4, a WPF C++ Managed project, which I can successfully build, it fails to publish with error:

error : PRI180: 0x80070057 - Target ARM64\Release\PackageUploadLayout does not exist

error : PRI193: 0x80070057 - Please provide a valid Project Root

It happens on a empty project as well. It seems to be related to C++ Managed.

The project targets SDK 10.0.19041.0, no other dependencies

Any suggestion ?

Developer technologies Universal Windows Platform (UWP)
Developer technologies C++
{count} votes

3 answers

Sort by: Most helpful
  1. Jchip 1 Reputation point
    2021-04-05T22:09:25.753+00:00

    I got exactly same error, after ARM64 option checked, publish error.
    on VS2109 v16.8.5

    Severity Code Description Project File Line Suppression State
    Error PRI180: 0x80070057 - Target ARM64\Release\PackageUploadLayout does not exist

    Severity Code Description Project File Line Suppression State
    Error PRI193: 0x80070057 - Please provide a valid Project Root

    0 comments No comments

  2. Volcano 56 Reputation points
    2021-08-18T01:32:23.267+00:00

    I also got this error:

    _GenerateAppxPackageRecipeFile:
      MyApp.UWP -> D:\MyApp\MyApp.UWP\bin\x86\Release\MyApp.UWP.build.appxrecipe
    _CreatePackageLayout:
      Directory "obj\x86\Release\PackageLayout\" doesn't exist. Skipping.
      MyApp.UWP -> obj\x86\Release\PackageLayout\
    _SplitResourcesPri:
      C:\Program Files (x86)\Windows Kits\10\bin\10.0.19041.0\x64\MakePri.exe New -ProjectRoot obj\x86\Release\PackageLayout\ -ConfigXml obj\x86\Release\split.priconfig.xml -OutputFile obj\x86\Release\split.pri -IndexName 3B3C62F3.5494505C4A71E -MappingFile AppX -Verbose -Overwrite  
    GENERATEPROJECTPRIFILE : error : PRI180: 0x80070057 - Target obj\x86\Release\PackageLayout does not exist
    GENERATEPROJECTPRIFILE : error : PRI193: 0x80070057 - Please provide a valid Project Root
    
    0 comments No comments

  3. Stéphane Denis 1 Reputation point
    2023-09-22T21:26:14.7933333+00:00

    Sorry to bump this old thread, still have issue Microsoft Visual Studio Community 2022 (64-bit) - Current Version 17.7.3

    GENERATEPROJECTPRIFILE : error : PRI180: 0x80070057 - Target ARM64\Release\PackageUploadLayout does not exist

    Still no real support for ARM64/C++ in 2023 ?

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.