Runtime error after switching to Release

I'm trying to build a small WPF project which uses the UrhoSurface control, provided by the UrhoSharp.WPF NuGet package. I'm using Visual Studio 2017 Professional. Everything works fine in Debug, but after switching to Release I get the following error:

"Constructor Graph_Drawer.MyGame(ApplicationOptions) was not found."

But this shouldn't happen, because I'm already using the base class's constructors:

public MyGame(ApplicationOptions options) : base(options) { }
public MyGame(System.IntPtr handle) : base(handle) { }

Is there a solution to this problem?

Sign In or Register to comment.