Languages

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

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.

 

 

 

Edited by: Jang-il Jin on 13 Oct, 2019

Responses

3 Replies
Sangwook Kim

Looks like a known issue and is fixed in Tizen.NET.Sdk 1.0.5. Please update the first line of your project file (.csproj) wtih:

<Project Sdk="Tizen.NET.Sdk/1.0.5">

 

Also see: https://samsung.github.io/Tizen.NET/tizen%20.net/Using-Tizen-NET-Sdk-as-SDK-style/#manual-migration

 

Tizen .NET

Hello, Jang-il Jin

Sorry for your inconvenience. Tizen.NET.Sdk package version should be updated from 1.0.3 to 1.0.5 on your csproj file.

Please also check out https://samsung.github.io/Tizen.NET/tizen%20.net/Update-TizenNETSdk-package/ to see more details.

Thanks.

Jang-il Jin

After updating Tizen.Net SDK to 1.0.5, it works like a charm

Thank you for the help