Skip to content

Commit

Permalink
Merge pull request Samsung#1627 from safir-srbd/migration
Browse files Browse the repository at this point in the history
[Continuation of PR Samsung#1599] Updating first-app.md
  • Loading branch information
asm-foysal authored Jul 1, 2022
2 parents 1ca51a5 + 8c9e32a commit e775a16
Show file tree
Hide file tree
Showing 45 changed files with 121 additions and 177 deletions.
165 changes: 116 additions & 49 deletions docs/application/dotnet/get-started/first-app.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/application/dotnet/get-started/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ The Visual Studio Tools for Tizen extension is registered in Visual Studio Marke
- To use the latest version of Visual Studio, [download](https://marketplace.visualstudio.com/items?itemName=tizen.VSToolsforTizen) Visual Studio Tools for Tizen for Visual Studio.

For more information, see the [Visual Studio Tools for Tizen](../../vstools/index.md) guides.
If you are using Linux, you can use [Visual Studio Code Extension](../../vscode-ext/Tizen/dotnet.md) to create your first app.
If you are using Linux, you can use [Visual Studio Code Extension](../../dotnet/get-started/first-app.md) to create your first app.

You can also use command line tools to create .NET project on any platform.

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
6 changes: 1 addition & 5 deletions docs/application/toc_all.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,6 @@

## [Learn about .NET](/application/dotnet/learn-about-dotnet.md)

## Get Started with Visual Studio Code Extension
### [.NET application development](/application/vscode-ext/Tizen/dotnet.md)

## Get Started with Visual Studio
### [.NET application development](/application/vstools/Tizen/dotnet.md)
## Get Started
### [Overview](/application/dotnet/get-started/index.md)
### [Create .NET Application](/application/dotnet/get-started/first-app.md)
Expand Down Expand Up @@ -1131,6 +1126,7 @@

## Visual Studio Code Extension for Tizen
### [Prerequisites](/application/vscode-ext/index.md)
### [Installing Visual Studio Code Extension for Tizen](/application/vscode-ext/Tizen/dotnet.md)
### Tizen
#### [Hybrid application development](/application/vscode-ext/Tizen/hybrid.md)
### [Tizen Web](/application/vscode-ext/web.md)
Expand Down
69 changes: 1 addition & 68 deletions docs/application/vscode-ext/Tizen/dotnet.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# .NET application development
# Installing Visual Studio Code Extension For Tizen

Visual Studio Code Extension for Tizen (VS Code Extension for Tizen) is a Visual Studio Code extension that enables you to develop Tizen .NET applications easily using Visual Studio Code. This topic covers 2 different ways to perform the installation: installing from the Marketplace or installing from a VSIX file.

Expand Down Expand Up @@ -96,70 +96,3 @@ To download emulator images, you can use the Tizen Package Manager or the Tizen
3. Select the profiles and versions that you want to install and click **Ok**.

![Emulator Manager](media/howtoinstall-emulatormanager.png)


## Develop applications

The following sections explain how to use Visual Studio Code Extension for Tizen to develop your applications.

### Create Tizen .NET project

To create a Tizen .NET project:

1. Create a new directory as the root directory for your project.
2. In Visual Studio Code, open the project directory you created.
3. Open the **Command Palette** and enter **tizen create**.
4. Select **Tizen: Create Tizen project**.
5. Select project type as DOTNET, select required profile and select required profile version.
6. Select a Tizen .NET project template from the template list.
7. Enter the project name.
8. Select YES or NO If prompts for set new project as working Folder?

### Build your project

To build your project:

1. Open the **Command Palette** and enter **tizen build**.
2. Select **Tizen: Build Tizen project**.
3. Review the build results in the **Output** window, and check the location of the package file (`.tpk`).

> [!NOTE]
> If you have a Tizen device and want to deploy the application to it, you must create a certificate profile using the Tizen Certificate Manager or Tizen CLI before building your project. For more information, see [Certificate Manager](../../vstools/tools/certificate-manager.md).
<a name="emulator-run"></a>
### Deploy and run your application in emulator

To deploy and run your application:

1. To launch the Tizen Emulator Manager, open the **Command Palette** and enter **tizen launch**.

> [!NOTE]
> You cannot launch an emulator directly from Visual Studio Code. Instead, you must launch the Tizen Emulator Manager and use it to launch the emulator you need.
2. Select **Tizen: Launch Tizen Emulator Manager**.
3. Create and launch an emulator instance in the Emulator Manager.
4. To deploy your application to the target, enter **tizen install** in the **Command Palette** and select **Tizen: Install Tizen application**.
5. To run the application on the emulator, enter **tizen run** in the **Command Palette** and select **Tizen: Run Tizen application**.

### Debug your application in emulator

To debug your application:

1. [Deploy and run your application in the emulator](#emulator-run).
2. In the Visual Studio Code **Activity Bar**, click the **Debug** icon (![Debug icon](media/vscode_debug_icon.png)).
3. In the **Debug** view, open the **Configuration** drop-down menu and select **Add Configuration**.
4. Select **Netcoredbg for Tizen .NET** in the list of configurations.
5. Start the debugging session by pressing **F5**.

## Troubleshoot

This section contains instructions for common problems with the VS Code Extension for Tizen.

### Failed Baseline SDK installation

If the Tizen Baseline SDK installation fails:

1. In the **Command Palette**, enter **tizen set**.
2. Select **Tizen .NET: Set the Tizen Baseline SDK path or install a new Tizen Baseline SDK**.
3. The extension asks if you want to use an existing Baseline SDK installation or install a new one. Proceed as described in [Setting Tizen Baseline SDK Configuration](#setting-baseline-config).

2 changes: 1 addition & 1 deletion docs/application/vscode-ext/Tizen/hybrid.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ The Hybrid app is successfully created with selected working folder as main app,

![Start debug](media/hybrid_start_debug.png)

To debug dotnet application, set dotnet app as main app, set native app as dependency app to dotnet app. Refer to [Debug your application in emulator](dotnet.md) section for details.
To debug dotnet application, set dotnet app as main app, set native app as dependency app to dotnet app. Refer to [Debug your application in emulator](../../dotnet/get-started/first-app.md#debug-your-application-in-emulator) section for details.

### Remove dependency projects

Expand Down
52 changes: 0 additions & 52 deletions docs/application/vstools/Tizen/dotnet.md

This file was deleted.

2 changes: 1 addition & 1 deletion docs/application/vstools/Tizen/hybrid.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ The following sections explain how to use Visual Studio Extension for Tizen to d

### Create Tizen .NET project

To create a Tizen .NET project: Refer to [Create Tizen .NET project](dotnet.md)
To create a Tizen .NET project: Refer to [Create Tizen .NET project](../../dotnet/get-started/first-app.md)


### Add Tizen Native project
Expand Down

0 comments on commit e775a16

Please sign in to comment.