Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

APPX1101: Payload contains two or more files with the same destination path #3639

Closed
myokeeh opened this issue May 16, 2023 · 1 comment
Closed

Comments

@myokeeh
Copy link

myokeeh commented May 16, 2023

Describe the bug

I'm getting APPX1101 when I have a background task referenced. See microsoft/CsWinRT#1327

I'm starting to think this could be a larger problem with WindowsAppSDK, so I'm filing an issue here.

It appears to work with a minimum subset of Nuget packages per the sample that Osirisoo0O provided, but that will not work for the intent of the background task.

Steps to reproduce the bug

  1. Create an OOP background task per CsWinRT guide.
  2. Add at least one of the Nuget packages below.
    CommunityToolkit.WinUI.Connectivity
    CommunityToolkit.WinUI.Notifications
    Microsoft.AppCenter.Analytics
    Microsoft.AppCenter.Crashes
  3. Build or Debug the app

Expected behavior

No errors, app runs and background task functions as it did with the UWP version.

Screenshots

No response

NuGet package version

Windows App SDK 1.3.1: 1.3.230502000

Packaging type

Packaged (MSIX)

Windows version

Windows 11 version 22H2 (22621, 2022 Update)

IDE

Visual Studio 2022

Additional context

No response

@myokeeh
Copy link
Author

myokeeh commented May 16, 2023

Found the fix. See microsoft/CsWinRT#1327

@myokeeh myokeeh closed this as completed May 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant