Determining which assemblies to include for XF UWP when Compile with .NET Native tool chain checked

PaulDistonPaulDiston USUniversity ✭✭✭✭
edited January 29 in Xamarin University

My XF UWP app in release mode behaves incorrectly compared to when in debug mode, so I think, although I am not experiencing the "Target Invocation Exception", I need to follow the advice listed here regarding the inclusion of assemblies in the Forms.Init call :-

https://developer.xamarin.com/guides/xamarin-forms/platform-features/windows/installation/universal/#Target_Invocation_Exception_when_using_Compile_with_.NET_Native_tool_chain

Is there a way to determine which assemblies to include? Is it just the list of references for the UWP project? Do I need to include assemblies that my references might be referencing? How do I determine which assemblies other assemblies are referencing?

Based on the list here :-

https://github.com/xamarinhq/app-evolve/blob/master/src/XamarinEvolve.UWP/App.xaml.cs#L92

There seems to be a degree of duplication, is this required? I presume the perceived duplication is the fact that the same namespace might span across multiple assemblies?

Tagged:

Answers

Sign In or Register to comment.