Skip to content

Latest commit

 

History

History
55 lines (38 loc) · 2.97 KB

how-to-build-vs.md

File metadata and controls

55 lines (38 loc) · 2.97 KB

How to Build a Tizen project in Visual Studio

This topic provides a step-by-step introduction to building tpk using Tizen.NET.Sdk in Visual Studio 2017. Tizen.NET.Sdk provide a feature of tpk packaging and signing. If Tizen .NET Core project refers to the Tizen.NET.Sdk package, TPK file will be created.

Prerequisites

  1. Install Visual Studio Tools for Tizen

  2. Add feed to Nuget.config to restore Tizen.NET.Sdk

Create a TPK Package with Visual Studio

  1. Create Tizen project

    C P S New Project

  2. Check PackageReference Tizen.NET.Sdk

    Nuget Ref Tizen.Net.Sdk

  3. Build Project (with Default Certificates)

    • Solution > Mouse Right button > Build Solution (or Ctrl + Shift + B)

    How To Build Build Project

    • Output Message
    1>------ Build started: Project: CrossTemplate1, Configuration: Debug Any CPU ------
    1>CrossTemplate1 -> C:\Users\samsung\Documents\Visual Studio 2017\Projects\CrossTemplate1\CrossTemplate1\CrossTemplate1\bin\Debug\netstandard2.0\CrossTemplate1.dll
    2>------ Build started: Project: CrossTemplate1.Tizen.TV, Configuration: Debug Any CPU ------
    3>------ Build started: Project: CrossTemplate1.Tizen.Mobile, Configuration: Debug Any CPU ------
    2>CrossTemplate1.Tizen.TV -> C:\Users\samsung\Documents\Visual Studio 2017\Projects\CrossTemplate1\CrossTemplate1\CrossTemplate1.Tizen.TV\bin\Debug\netcoreapp2.0\CrossTemplate1.Tizen.TV.dll
    2>CrossTemplate1.Tizen.TV -> C:\Users\samsung\Documents\Visual Studio 2017\Projects\CrossTemplate1\CrossTemplate1\CrossTemplate1.Tizen.TV\bin\Debug\netcoreapp2.0\org.tizen.example.CrossTemplate1.Tizen.TV-1.0.0.tpk
    3>CrossTemplate1.Tizen.Mobile -> C:\Users\samsung\Documents\Visual Studio 2017\Projects\CrossTemplate1\CrossTemplate1\CrossTemplate1.Tizen.Mobile\bin\Debug\netcoreapp2.0\CrossTemplate1.Tizen.Mobile.dll
    3>CrossTemplate1.Tizen.Mobile -> C:\Users\samsung\Documents\Visual Studio 2017\Projects\CrossTemplate1\CrossTemplate1\CrossTemplate1.Tizen.Mobile\bin\Debug\netcoreapp2.0\org.tizen.example.CrossTemplate1.Tizen.Mobile-1.0.0.tpk
    ========== Build: 3 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
    
  4. Output Directory

    • tpk is created at the output directory How To Build Output Dir

    • The files that make up the tpk package can be found in the tpkroot directory. How To Build Tpk Root

Signing with custom certificates

See Also