Bug: Investigate CsWinRT component refencing NuGet package with lib and runtime assemblies
Open
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 665
- Forks
- 134
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 32
Description
Description
Payload contains two or more files with the same destination path 'System.Management.dll'. Source files:
C:\Users\.....\.nuget\packages\system.management\7.0.2\runtimes\win\lib\net7.0\System.Management.dll
C:\Users\.....\.nuget\packages\system.management\7.0.2\lib\net7.0\System.Management.dll
Payload contains two or more files with the same destination path 'Microsoft.Win32.SystemEvents.dll'. Source files:
C:\Users\.....\.nuget\packages\microsoft.win32.systemevents\9.0.9\runtimes\win\lib\net9.0\Microsoft.Win32.SystemEvents.dll
C:\Users\.....\.nuget\packages\microsoft.win32.systemevents\9.0.9\lib\net9.0\Microsoft.Win32.SystemEvents.dll
Steps To Reproduce
See https://github.com/microsoft/WindowsAppSDK/issues/5826
Expected Behavior
No errors
Version Info
N/A
Additional Context
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked WindowsAppSDK issue and compare the reported System.Management.dll and Microsoft.Win32.SystemEvents.dll destination collisions. Trace how the CsWinRT component references these NuGet packages; done means the reproduced build no longer reports duplicate payload paths.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100