Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report for Bug 41973 on
Developer Community or GitHub if you have new
information to add and do not yet see a matching new report.
If the latest results still closely match this report, you can use the
In special cases on GitHub you might also want the comments:
GitHub Markdown with public comments
Created attachment 16393 [details]
My UWP app keep throw PlatformNotSupportedException when enable Native Compiler.(In the Default only enable on Release mode)
It looks like mostly throw when create a Page. like:
Page1 page = new Page();
I upload a project sample for test.
it will not show after add : [assembly: XamlCompilation(XamlCompilationOptions.Compile)]
I'm seeing the same behavior in release, I can kill the app and restart and it works. It is just flooding the output window with the PlatformNoSupportedException message when it doesn't show the page.
I am seeing this behavior as well. It bypasses the error if I uncheck "Compile with .NET Native tool chain" or if I run it in debug mode. If I build a package and deploy the app, it runs for debug builds, but crashes on startup for release builds.