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

Micrsoft.UI.Xmal 2.8.6 not able to build for release sideloading (WebView2 WinUI2) #10226

Open
dworzycp opened this issue Dec 10, 2024 · 0 comments
Labels
bug Something isn't working product-winui2 Regression

Comments

@dworzycp
Copy link

Describe the bug

Not able to build a release sideloading app with the latest version of Micrsoft.UI.Xmal (2.8.6).

Debug builds work fine, only seeing issues with release builds

Downgrading Micrsoft.UI.Xmal to 2.8.2 fixes the issue.

Steps to reproduce the bug

  1. Set up a new project following https://learn.microsoft.com/en-us/microsoft-edge/webview2/get-started/winui2
  2. Add the latest version of Microsoft.UI.Xaml which is 2.8.6
  3. Create app package for sideloading > when selecting the packages to create, keep both x86 and x64 ticked, but update the solution configuration from debug to release
  4. Errors when building with:
Payload contains two or more files with the same destination path 'System.IO.MemoryMappedFiles.dll', but they have different content. Source files: 
C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\runtime.win10-x86.microsoft.netcore.universalwindowsplatform\6.2.14\runtimes\win10-x86\lib\uap10.0.15138\System.IO.MemoryMappedFiles.dll
C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\runtime.win10-x86-aot.microsoft.netcore.universalwindowsplatform\6.2.14\runtimes\win10-x86-aot\lib\uap10.0.15138\System.IO.MemoryMappedFiles.dll

Note - debug builds work fine

Expected behavior

No response

Screenshots

No response

NuGet package version

None

Windows version

No response

Additional context

No response

@dworzycp dworzycp added the bug Something isn't working label Dec 10, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added the needs-triage Issue needs to be triaged by the area owners label Dec 10, 2024
@karkarl karkarl added product-winui2 Regression and removed needs-triage Issue needs to be triaged by the area owners labels Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working product-winui2 Regression
Projects
None yet
Development

No branches or pull requests

2 participants