Reputation: 1828
I recently updated my machine from Windows 8 to Windows 10. Since then, I get a NullReferenceException
in SharpDX.Toolkit.Game.dll
when I call
this.game.Run(context)
Where game
inherits from SharpDX.Toolkit.Game
and context
is a SharpDX.Toolkit.GameContext
with a ContextType
of DesktopWpf
.
On the SharpDX Homepage I could not find any information about migrating projects to Windows 10.
Before upgrading, everything worked fine. Do I need to tweak any special setting? Or do I need to upgrade to SharpDX 3.0.0, which is still alpha?
Edit: The exception is not raised in my code, but in the code of SharpDX - just to make it clear.
Upvotes: 2
Views: 1306
Reputation: 1828
I just found the solution: After upgrading Windows from 8.1 to 10, you need to upgrade your Windows SDK as well by installing the Windows 10 SDK.
The Windows 10 SDK can be downloaded here.
Upvotes: 2