Bug 40740 - UWP Platform constructor throws TypeLoadException
Summary: UWP Platform constructor throws TypeLoadException
Status: VERIFIED FIXED
Alias: None
Product: Forms
Classification: Xamarin
Component: Windows ()
Version: unspecified
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2016-04-27 17:42 UTC by Nick Gamroth
Modified: 2016-10-12 13:17 UTC (History)
5 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:


Attachments
Screen dump of the problem (183.27 KB, image/png)
2016-10-10 18:31 UTC, Chris Turner
Details


Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and 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 Links.

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 on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
VERIFIED FIXED

Description Nick Gamroth 2016-04-27 17:42:50 UTC
See this forum thread: https://forums.xamarin.com/discussion/64731/how-to-solve-unknown-type-in-uwp-app-windows-ui-viewmanagement-statusbar#latest

The constructor for Xamarin.Forms.Platform.WinRT.Platform and UpdateBounds() are using the following code to check if the StatusBar type is present:

ApiInformation.IsTypePresent(typeof(StatusBar).ToString());

If the StatusBar type isn't present, this code will either not compile or throw a runtime exception since the type doesn't exist.

This is currently happening on my machine, but not others.  I'm not sure what system component or library is missing.
Comment 1 Rui Marinho 2016-04-27 19:03:18 UTC
Should be fixed in 2.3.1-pre1
Comment 2 Parmendra Kumar 2016-07-05 15:54:53 UTC
I have checked this issue with attached sample https://github.com/jamesmontemagno/MyWeather.Forms in provided forum link in bug description and its working fine with latest xamarin.forms version 2.3.1-pre2.

Screencast: http://www.screencast.com/t/xc9Vvqtw7

Hence closing this issue. If you still facing same issue please feel free to reopen this issue. 

Thanks.
Comment 3 Chris Turner 2016-10-09 21:51:07 UTC
This still seems to be a problem.  I think it should be re-opened.
Comment 4 Parmendra Kumar 2016-10-10 12:55:28 UTC
I have checked this issue with latest Xamarin.Forms 2.3.3.152-pre2 and I am not getting any exception. I have used sample given in comment #2.
DebugLog: https://gist.github.com/Prashant360/b8a4ecc00865c0bb91b5dcba27f2c718

@Chris, Could you please provide me any sample project and Logs, So that I can reproduce this issue at my end.

Thanks.
Comment 5 Chris Turner 2016-10-10 18:19:33 UTC
Hi, I get this error on all my UWP projects.  I've just created a new 'Blank XAML app (Portable), upgraded it to 2.3.3.152-pre and run it, and I get the error.

This is the output when I run it:
'Test5.UWP.exe' (CoreCLR: DefaultDomain): Loaded 'C:\Program Files\WindowsApps\Microsoft.NET.CoreRuntime.1.0_1.0.23819.0_x86__8wekyb3d8bbwe\mscorlib.ni.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\entrypoint\Test5.UWP.exe'. Symbols loaded.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.Runtime.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\WINDOWS\system32\WinMetadata\Windows.UI.Xaml.winmd'. Module was built without symbols.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.Runtime.InteropServices.WindowsRuntime.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\WINDOWS\system32\WinMetadata\Windows.ApplicationModel.winmd'. Module was built without symbols.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.Diagnostics.Debug.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.Runtime.WindowsRuntime.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\WINDOWS\system32\WinMetadata\Windows.Foundation.winmd'. Module was built without symbols.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.Runtime.WindowsRuntime.UI.Xaml.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\WINDOWS\system32\WinMetadata\Windows.UI.winmd'. Module was built without symbols.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\Xamarin.Forms.Platform.UAP.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.Reflection.dll'. Module was built without symbols.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\Xamarin.Forms.Core.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.Threading.Tasks.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.IO.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.Private.Uri.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.ObjectModel.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.Collections.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.Linq.Expressions.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.Linq.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\WINDOWS\system32\WinMetadata\Windows.Graphics.winmd'. Module was built without symbols.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.Runtime.Extensions.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.Threading.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.Reflection.Extensions.dll'. Module was built without symbols.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\WINDOWS\system32\WinMetadata\Windows.Storage.winmd'. Module was built without symbols.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\Microsoft.CSharp.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\Microsoft.VisualBasic.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\Microsoft.Win32.Primitives.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.AppContext.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.Collections.Concurrent.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.Collections.Immutable.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.Collections.NonGeneric.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.Collections.Specialized.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.ComponentModel.Annotations.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.ComponentModel.DataAnnotations.dll'. Module was built without symbols.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.ComponentModel.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.ComponentModel.EventBasedAsync.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.Core.dll'. Module was built without symbols.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.Data.Common.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.Diagnostics.Contracts.dll'. Module was built without symbols.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.Diagnostics.StackTrace.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.Diagnostics.Tools.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.Diagnostics.Tracing.dll'. Module was built without symbols.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.dll'. Module was built without symbols.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.Dynamic.Runtime.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.Globalization.Calendars.dll'. Module was built without symbols.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.Globalization.dll'. Module was built without symbols.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.Globalization.Extensions.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.IO.Compression.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.IO.Compression.ZipFile.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.IO.FileSystem.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.IO.FileSystem.Primitives.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.IO.IsolatedStorage.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.IO.UnmanagedMemoryStream.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.Linq.Parallel.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.Linq.Queryable.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.Net.dll'. Module was built without symbols.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.Net.Http.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.Net.Http.Rtc.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.Net.NetworkInformation.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.Net.Primitives.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.Net.Requests.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.Net.Sockets.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.Net.WebHeaderCollection.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.Numerics.dll'. Module was built without symbols.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.Numerics.Vectors.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.Numerics.Vectors.WindowsRuntime.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.Private.DataContractSerialization.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.Private.Networking.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.Private.ServiceModel.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.Reflection.Context.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.Reflection.DispatchProxy.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.Reflection.Emit.dll'. Module was built without symbols.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.Reflection.Emit.ILGeneration.dll'. Module was built without symbols.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.Reflection.Emit.Lightweight.dll'. Module was built without symbols.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.Reflection.Metadata.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.Reflection.Primitives.dll'. Module was built without symbols.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.Reflection.TypeExtensions.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.Resources.ResourceManager.dll'. Module was built without symbols.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.Runtime.Handles.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.Runtime.InteropServices.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.Runtime.Numerics.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.Runtime.Serialization.dll'. Module was built without symbols.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.Runtime.Serialization.Json.dll'. Module was built without symbols.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.Runtime.Serialization.Primitives.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.Runtime.Serialization.Xml.dll'. Module was built without symbols.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.Security.Claims.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.Security.Principal.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.ServiceModel.dll'. Module was built without symbols.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.ServiceModel.Duplex.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.ServiceModel.Http.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.ServiceModel.NetTcp.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.ServiceModel.Primitives.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.ServiceModel.Security.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.ServiceModel.Web.dll'. Module was built without symbols.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.Text.Encoding.CodePages.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.Text.Encoding.dll'. Module was built without symbols.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.Text.Encoding.Extensions.dll'. Module was built without symbols.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.Text.RegularExpressions.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.Threading.Overlapped.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.Threading.Tasks.Dataflow.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.Threading.Tasks.Parallel.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.Threading.Timer.dll'. Module was built without symbols.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.Windows.dll'. Module was built without symbols.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.Xml.dll'. Module was built without symbols.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.Xml.Linq.dll'. Module was built without symbols.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.Xml.ReaderWriter.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.Xml.Serialization.dll'. Module was built without symbols.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.Xml.XDocument.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.Xml.XmlDocument.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\System.Xml.XmlSerializer.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\Test5.dll'. Symbols loaded.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\Xamarin.Forms.Platform.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Test5.UWP.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'c:\users\chris\documents\visual studio 2015\Projects\Test5\Test5\Test5.UWP\bin\x86\Debug\AppX\Xamarin.Forms.Xaml.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Exception thrown: 'System.TypeLoadException' in Xamarin.Forms.Platform.UAP.dll
The program '[15428] Test5.UWP.exe: Program Trace' has exited with code 0 (0x0).
The program '[15428] Test5.UWP.exe' has exited with code -1 (0xffffffff).
Comment 6 Chris Turner 2016-10-10 18:31:29 UTC
Created attachment 17959 [details]
Screen dump of the problem

The attached file is a screen dump of the problem in Visual Studio
Comment 7 Chris Turner 2016-10-10 18:32:39 UTC
I've tried to upload the problem project zipped up but it's way bigger than the allowed limit.  Is there any other way I can get it to you?
Comment 8 Parmendra Kumar 2016-10-10 18:36:41 UTC
Chris, Please upload your project in Dropbox or Github, so that I access your sample project.

Thanks
Comment 9 Chris Turner 2016-10-10 18:45:09 UTC
I've shared the project on my one drive:
https://1drv.ms/u/s!AmgkjEjadrvTjpQdW8TXoTiYTPxKrA
Comment 10 Samantha Houts [MSFT] 2016-10-11 00:16:04 UTC
@Chris Turner

We were unable to reproduce the error you described with the project you uploaded. Have you tried to clean and rebuild the solution after the update?
Comment 11 Chris Turner 2016-10-12 06:06:58 UTC
Unfortunately, after a clean and rebuild the problem still persists.

It looks like the problem may be local to my device somehow and this is reinforced by the comment by HectorMeneses in the thread of the original comment.

Is there anything you can suggest?  I could try reinstalling xamarin but I'm not sure the best way to do this cleanly to make sure that I don't waste my time doing it.

I've been waiting for this fix for months now whist continuing to develop my application and was hoping to release it on windows devices with the UWP version.
Comment 12 Chris Turner 2016-10-12 13:17:17 UTC
I can confirm that this is NOT a xamarin issue.

I've just realised that I get the same error when I create a blank UWP application outside of xamarin.

I will report back here if I find out what the actual issue is.