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

MSIX packaging error when referencing multiple WinRT components #1831

Open
Sergio0694 opened this issue Oct 16, 2024 · 0 comments
Open

MSIX packaging error when referencing multiple WinRT components #1831

Sergio0694 opened this issue Oct 16, 2024 · 0 comments
Assignees
Labels
authoring Related to authoring feature work pri-1

Comments

@Sergio0694
Copy link
Member

Describe the bug

Referencing multiple WinRT components from an app causes an MSIX build error:

Payload contains two or more files with the same destination path 'WinRT.Host.runtimeconfig.json'. Source files: 
D:\git\SFC.Client.SFUI\bin\WinStore.Tasks2\x64\WinRT.Host.runtimeconfig.json
D:\git\SFC.Client.SFUI\bin\Store.Purchase.Component2\x64\WinRT.Host.runtimeconfig.json

To Reproduce

  1. Create at least 2 WinRT components
  2. Reference both of them from an app
  3. Package with MSIX
  4. Build

Expected behavior

Should build correctly and automatically deduplicate the runtimeconfig.json files.

Version Info

CsWinRT 2.1.6

@Sergio0694 Sergio0694 added authoring Related to authoring feature work pri-1 labels Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
authoring Related to authoring feature work pri-1
Projects
None yet
Development

No branches or pull requests

2 participants