Compiled app does not run after updating Visual Studio 2019 to 16.3

Compiled app does not run after updating Visual Studio 2019 to 16.3

BY 14 Oct 2019 Tizen .NET

All compiled app with Visual Studio 2019 16.3+ crashes on launching.

Even a template-generated app with Xamarin Forms default settings(Tizen Wearable Xaml App) crashes as soon as launching.

Call stack :

> __kernel_vsyscall
  ???
  ???
  ???
  ???
  ???
  ???
  coreclr_execute_assembly
  tizen::runtime::dotnetcore::CoreRuntime::launch(char const*, char const*, char const*, int, char**)
  main
  ???
  _start

Visual studio debugging mode shows a just “Unhandled Exception” without any detaled message

Device log :

10-14 12:00:43.020 Debug 2774 2787 DOTNET_LAUNCHER utils.cc: stdlog(309) > ### Logger thread is created
10-14 12:00:43.020 Debug 2774 2774 DOTNET_LAUNCHER dotnet_launcher.cc: CoreRuntime(211) > Constructor called!!
10-14 12:00:43.020 Debug 2774 2774 DOTNET_LAUNCHER main.cc: main(105) > ##### Run it standalone Mode #########
10-14 12:00:43.020 Debug 2774 2774 DOTNET_LAUNCHER main.cc: main(118) > AUL_APPID : com.smlab.GpxTracker
10-14 12:00:43.020 Debug 2774 2774 DOTNET_LAUNCHER dotnet_launcher.cc: initialize(257) > libcoreclr : /usr/share/dotnet/shared/Microsoft.NETCore.App/2.0.0/libcoreclr.so
10-14 12:00:43.330 Debug 2774 2774 DOTNET_LAUNCHER dotnet_launcher.cc: initialize(282) > libcoreclr dlopen and dlsym success
10-14 12:00:44.080 Debug 2774 2774 DOTNET_LAUNCHER dotnet_launcher.cc: initializeCoreClr(361) > Initialize core clr success
10-14 12:00:44.090 Info 2774 2787 DOTNET_LAUNCHER Unhandled Exception:
10-14 12:00:44.100 Info 2774 2787 DOTNET_LAUNCHER System.IO.FileNotFoundException: Could not load file or assembly ‘Xamarin.Forms.Platform.Tizen, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null’. The system cannot find the file specified.
10-14 12:18:46.980 Debug 2846 2846 DOTNET_LAUNCHER dotnet_launcher.cc: CoreRuntime(211) > Constructor called!!
10-14 12:18:46.980 Debug 2846 2846 DOTNET_LAUNCHER main.cc: main(105) > ##### Run it standalone Mode #########
10-14 12:18:46.980 Debug 2846 2846 DOTNET_LAUNCHER main.cc: main(118) > AUL_APPID : com.smlab.GpxTracker
10-14 12:18:46.980 Debug 2846 2846 DOTNET_LAUNCHER dotnet_launcher.cc: initialize(257) > libcoreclr : /usr/share/dotnet/shared/Microsoft.NETCore.App/2.0.0/libcoreclr.so
10-14 12:18:46.980 Debug 2846 2849 DOTNET_LAUNCHER utils.cc: stdlog(309) > ### Logger thread is created
10-14 12:18:46.980 Debug 2846 2846 DOTNET_LAUNCHER dotnet_launcher.cc: initialize(282) > libcoreclr dlopen and dlsym success
10-14 12:18:47.190 Debug 2846 2846 DOTNET_LAUNCHER dotnet_launcher.cc: initializeCoreClr(361) > Initialize core clr success
10-14 12:18:47.200 Info 2846 2849 DOTNET_LAUNCHER Unhandled Exception:
10-14 12:18:47.210 Info 2846 2849 DOTNET_LAUNCHER System.IO.FileNotFoundException: Could not load file or assembly ‘Xamarin.Forms.Platform.Tizen, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null’. The system cannot find the file specified.
10-14 12:18:47.220 Info 2846 2849 DOTNET_LAUNCHER onSigabrt called
10-14 12:18:47.230 Info 2846 2849 DOTNET_LAUNCHER ******************************************************
10-14 12:18:47.230 Info 2846 2849 DOTNET_LAUNCHER Unhandled exception is occured. check application code
10-14 12:18:47.230 Info 2846 2849 DOTNET_LAUNCHER ******************************************************
10-14 12:18:53.390 Debug 7595 7595 DOTNET_LAUNCHER dotnet_launcher.cc: CoreRuntime(211) > Constructor called!!
10-14 12:18:53.390 Debug 7595 7595 DOTNET_LAUNCHER launcher.cc: loaderMain(212) > launchpad_loader_main is start
10-14 12:18:53.390 Debug 7595 7596 DOTNET_LAUNCHER utils.cc: stdlog(309) > ### Logger thread is created
10-14 12:18:53.400 Debug 7595 7595 DOTNET_LAUNCHER launcher.cc: preloadLibsAndWindow(146) > preload /usr/lib/libappcore-efl.so.1#
10-14 12:18:53.400 Debug 7595 7595 DOTNET_LAUNCHER launcher.cc: preloadLibsAndWindow(146) > preload /usr/lib/libappcore-common.so.1#
10-14 12:18:53.400 Debug 7595 7595 DOTNET_LAUNCHER launcher.cc: preloadLibsAndWindow(146) > preload /usr/lib/libcapi-appfw-application.so.0#
10-14 12:18:53.400 Debug 7595 7595 DOTNET_LAUNCHER launcher.cc: preloadLibsAndWindow(146) > preload /usr/lib/ecore_imf/modules/wayland/v-1.16/libwltextinputmodule.so#
10-14 12:18:53.450 Debug 7595 7595 DOTNET_LAUNCHER launcher.cc: preloadLibsAndWindow(146) > preload /usr/lib/libdali-toolkit.so#
10-14 12:18:53.450 Debug 7595 7595 DOTNET_LAUNCHER launcher.cc: preloadLibsAndWindow(146) > preload /usr/lib/libcairo.so.2#
10-14 12:18:53.450 Debug 7595 7595 DOTNET_LAUNCHER launcher.cc: preloadLibsAndWindow(146) > preload /usr/lib/libefl-assist.so.0#
10-14 12:18:53.450 Info 7595 7596 DOTNET_LAUNCHER monitor dir /opt/usr/home/owner/share/.elementary/config/wearable
10-14 12:18:53.500 Debug 7595 7595 DOTNET_LAUNCHER launcher.cc: preloadLibsAndWindow(151) > [candidate] elm init, returned: 1
10-14 12:18:53.580 Info 7595 7596 DOTNET_LAUNCHER 12:18:53
10-14 12:18:53.580 Info 7595 7596 DOTNET_LAUNCHER INFO  [7595] tbm_bufmgr_emulator_init:574 – initialized
10-14 12:18:53.630 Debug 7595 7595 DOTNET_LAUNCHER dotnet_launcher.cc: initialize(257) > libcoreclr : /usr/share/dotnet/shared/Microsoft.NETCore.App/2.0.0/libcoreclr.so
10-14 12:18:53.640 Debug 7595 7595 DOTNET_LAUNCHER dotnet_launcher.cc: initialize(282) > libcoreclr dlopen and dlsym success
10-14 12:18:53.730 Debug 7595 7595 DOTNET_LAUNCHER dotnet_launcher.cc: initializeCoreClr(361) > Initialize core clr success
10-14 12:18:53.730 Debug 7595 7595 DOTNET_LAUNCHER main.cc: operator()(140) > Success to initialized

Seems to be related with Xamarin Forms.

An app compilied on Visual Studio 2017 works well.

 

 

 

Written by