UWP, Monogame.Extended: Payload contains two or more files ... SharpDX

Hello!

When I create a new UWP Coreapp project from the template, it runs fine.
When I install Monogame Extended 3.8.0 into it, it gives me this error:

Payload contains two or more files with the same destination path ‘SharpDX.dll’, but they are different sizes. Source files:

C:\Users\skoul.nuget\packages\sharpdx\4.0.1\lib\uap10.0\SharpDX.dll
C:\Users\skoul.nuget\packages\monogame.extended\3.8.0\contentFiles\any\netstandard2.0\SharpDX.dll testuwp

I don’t know what to do :frowning: I am using VS 2019

When I remove Extended package with Nuget manager and put it there manually from the github zip file, it runs.

And if I use Extended 3.7, it is also ok. Problem persists with Extended 3.8

Hi Mike, I am having the same issue. I cant reference the source code as UWP needs its own class lib type. I could be totally wrong but as I see it There are 2 fixes. Firstly would be upgrade the SharpDX issue and re-release and it might work. Or secondly a UWP version of extended. I am now looking into how this could be resolved for my own project and will report back

1 Like