我在这里有一个 Xamarin 应用程序,它在调试模式下运行没有任何问题,但在发布模式下它立即崩溃,说我的一个页面的默认构造函数丢失。
Unhandled Exception:
System.MissingMethodException: Default constructor not found for type PraxisApp.MasterPage occurred
Run Code Online (Sandbox Code Playgroud)
有没有人有任何建议为什么会在发布模式下发生这种情况?