MonoGame WindowsDX is not compatible with SharpDX 4.2.0 yet

Created on 29 Dec 2018  路  6Comments  路  Source: MonoGame/MonoGame

The following issue pops up once you try to use SharpDX 4.2.0 together with MonoGame

image

What version of MonoGame does the bug occur on:

  • MonoGame 3.7

What operating system are you using:

  • Windows

What MonoGame platform are you using:

  • DesktopGL
Maintenance

Most helpful comment

@mrhelmut @Jjagg @cra0zy - So looks like SharpDX 4.2.1 will never release officially, so to fix this we're going to have to build the latest SharpDX ourselves and resolve the issue.

We have a fork here where we should land our fixes/changes and build from:

https://github.com/MonoGame/SharpDX

If someone can find the build instructions for the project i can set it up on our automated build process.

All 6 comments

Is there a specific reason that would require SharpDX to be updated?

(Note that DesktopGL doesn't use SharpDX at all, so I'm assuming your targeting a Windows or Windows Store project.)

Good question, was kinda in a rush when making this issue :).

Reason we would like to upgrade is because currently in SharpDX 4.0.1 there's an issue where the UWP apps you create can't be published to the Windows Store because they make use of some native calls (well they aren't actually used but they are included in the SharpDX DLL's). This pops up when you run the "Windows App Cert Kit" on them.

This was supposed to be fixed in SharpDX 4.2.0 however it apparently wasn't completely:
https://github.com/sharpdx/SharpDX/pull/1111

I fixed this in this pull request but then when testing it with the latest MonoGame version I ran into this issue.

So ideally we'd wait for SharpDX 4.2.1 to be released but untill then we could already create a branch where this issue is already fixed.

So the actual issue is that MonoGame doesn't pass the Windows Store certification?

We should update to SharpDX 4.2.1 went it comes out then (We could already setup a PR to fix this, but I guess it'll be merged only once it officially comes out. MonoGame tries to avoid custom branches for dependencies.).

Exactly :)

Feel free to ping here when 4.2.1 is available. :)

@mrhelmut @Jjagg @cra0zy - So looks like SharpDX 4.2.1 will never release officially, so to fix this we're going to have to build the latest SharpDX ourselves and resolve the issue.

We have a fork here where we should land our fixes/changes and build from:

https://github.com/MonoGame/SharpDX

If someone can find the build instructions for the project i can set it up on our automated build process.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

MontyHimself picture MontyHimself  路  5Comments

Grabiobot picture Grabiobot  路  5Comments

MichaelDePiazzi picture MichaelDePiazzi  路  4Comments

rds1983 picture rds1983  路  5Comments

bjornenalfa picture bjornenalfa  路  5Comments