Update Tizen.NET.Sdk Package in Visual Studio 16.3 or Above
Visual Studio 2019 version 16.3 has been released, and lots of devs will be very happy to update their Visual Studio to the latest. Check out the release notes for more details.
Applications built on Visual Studio 16.3 or above will crash, but don't panic
If you are a Tizen .NET developer, you might panic after finding out that your application built on Visual Studio version 16.3 or above does not run on the Tizen target anymore. You will face the following exception:
System.IO.FileNotFoundException: Could not load file or assembly 'Xamarin.Forms.Platform.Tizen, Version=126.96.36.199, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.
This is happening because Visual Studio 2019 version 16.3 contains support for the release of .NET Core 3.0, and Tizen .NET.sdk needs corresponding updates.
To resolve this issue, update Tizen.NET.Sdk package from 1.0.3 to 1.0.5.
- Open your
.csprojfile of your Tizen project.
- Modify the version of
<Project Sdk="Tizen.NET.Sdk/1.0.5"> <!-- Property Group for Tizen50 Project --> <PropertyGroup> <OutputType>Exe</OutputType> <TargetFramework>tizen50</TargetFramework> </PropertyGroup> ...
Tizen .NET templates have been updated
Tizen .NET templates provided on Visual Studio have been updated, so update your Visual Studio Tools for Tizen if you notice that yours are outdated.
What a relief! You can update Visual Studio 2019 version 16.3 and continue to build your applications without crashes. Check it out!