Deployment error DEP1700

Willie 31 Reputation points
2022-06-10T20:21:26.163+00:00

I am receiving this error when I try and debug my UWP app. DEP1700: The recipe file "C:\Users\xxxxxxxx\bin\Debug\net6.0-windows10.0.19041.0\xxxxxx.build.appxrecipe" does not exist. You may need to build your project.

This is a MAUI application.

My project builds. I am using VS 2022 Community preview version 17.3.0 preview 1.1.

I have tried uninstalling VS and reinstalling. I have tried running VS as administrator.

Any ideas on how to resolve this issue would be appreciated.

Developer technologies | .NET | .NET MAUI
{count} votes

1 answer

Sort by: Most helpful
  1. Vrushabh Konde 10 Reputation points
    2024-06-17T09:54:28.9766667+00:00

    When confronted with "missing appxrecipe" check the WindowsPacakgeType attribute in the csproj file for the Maui app.

    By commenting out the specifier, the project deploy failure is resolved!

    <!--<WindowsPackageType Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">None</WindowsPackageType>-->

    2 people found this answer helpful.

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.