Visual Studio 2019 Compatibility Issues with Tizen Development

Original Created Jun 16, 2019 | Regeneration Apr 22, 2026

I am new to Tizen development and tried using Visual Studio 2019. While the installation and basic project creation worked fine, I encountered issues with NuGet dependencies. Specifically, the IDE couldn't resolve using System; statements. Interestingly, Xamarin projects worked without any issues. After multiple attempts, I switched to Visual Studio 2017, where everything worked smoothly. Has anyone else faced similar issues with VS2019?

Problem Understanding

The issue arises due to changes in the Visual Studio 2019 (version 16.1 or higher) project system, which affects Tizen projects using older versions of Tizen.NET.Sdk. This results in errors like NETSDK1013: The TargetFramework value 'tizen40' was not recognized.

Solution Methods

  1. Update Tizen.NET.Sdk to Version 1.0.3
    Modify your .csproj file to use Tizen.NET.Sdk as a custom SDK:

    <Project Sdk="Tizen.NET.Sdk/1.0.3">
      <PropertyGroup>
        <OutputType>Exe</OutputType>
        <TargetFramework>tizen40</TargetFramework>
      </PropertyGroup>
    </Project>
    
  2. Manual Workaround for Older Projects
    For projects still using Microsoft.NET.Sdk, add the following lines to your .csproj file:

    <PropertyGroup>
      <TargetFrameworkIdentifier>Tizen</TargetFrameworkIdentifier>
      <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
    </PropertyGroup>
    
  3. Update Visual Studio Tools for Tizen
    Ensure you have the latest version of the Tizen extension (2.6.0.0 or higher) installed in Visual Studio 2019. This version resolves the compatibility issues.

Additional Tips

  • Version Compatibility: Tizen.NET 5.0.0 supports both tizen40 and tizen50 target frameworks, unlike Tizen.NET 4.0.0, which only supports tizen40.
  • Documentation: Refer to the official documentation for more details on using Tizen.NET.Sdk.

Customize your cookie preferences

You can enable or disable non-essential cookies. Essential cookies are always on to ensure the site works properly and to keep you signed in.

Necessary

These cookies are necessary for the website to function properly and cannot be switched off. They help with things like logging in and setting your privacy preferences.

Always on

Analytics

These cookies help us improve the site by tracking which pages are most popular and how visitors move around the site.

Enable analytics cookies
Public Forum Public Forum
Employees only. Please sign in with your company account.