Skip to content

Commit

Permalink
Update VS for Tizen 2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
sangwook96-lee committed Mar 22, 2019
1 parent 60d8540 commit de7574c
Show file tree
Hide file tree
Showing 548 changed files with 20,672 additions and 3,411 deletions.
3 changes: 2 additions & 1 deletion build/Targets/Tizen.NET.ProjectType.targets
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,12 @@
This is used by VS to show the list of tizen frameworks -->
<ItemGroup>
<SupportedTargetFramework Include="Tizen,Version=v4.0" DisplayName=".NET Tizen 4.0" />
<SupportedTargetFramework Include="Tizen,Version=v5.0" DisplayName=".NET Tizen 5.0" />
</ItemGroup>

<Target Name="Run">
<Message Text="$(RunCommandArguments)" />
<Exec Command='$(RunCommand) "$(MSBuildProjectDirectory)\$(StartItem)" $(RunCommandArguments)' WorkingDirectory="$(RunWorkingDirectory)" />
</Target>

</Project>
</Project>
10 changes: 6 additions & 4 deletions build/Targets/Tizen.Versions.targets
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,12 @@
</Choose>

<PropertyGroup>
<TizenNETVersion>4.0.0</TizenNETVersion>
<TizenNETVersion>5.0.0.14562</TizenNETVersion>
<TizenNETSDKVersion>1.0.1</TizenNETSDKVersion>
<XamarinFormsVersion>2.5.0.77107</XamarinFormsVersion>
<XamarinFormsPlatformTizenVersion>2.5.0.77107</XamarinFormsPlatformTizenVersion>
<XamarinFormsVersion>3.2.0.871581</XamarinFormsVersion>
<MSBuildTasksVersion>1.5.0.235</MSBuildTasksVersion>
<TizenWearableCircleUIVersion>1.0.0</TizenWearableCircleUIVersion>
<TizenOpenTKVersion>3.0.2</TizenOpenTKVersion>
</PropertyGroup>

<ItemGroup>
Expand All @@ -36,7 +37,8 @@
<FileUpdate Files="@(TemplateCSProjFiles)" Regex="_NUGET_TIZENNET_VER_" ReplacementText="$(TizenNETVersion)"/>
<FileUpdate Files="@(TemplateCSProjFiles)" Regex="_NUGET_TIZENNETSDK_VER_" ReplacementText="$(TizenNETSDKVersion)"/>
<FileUpdate Files="@(TemplateCSProjFiles)" Regex="_NUGET_XAMARINFORMS_VER_" ReplacementText="$(XamarinFormsVersion)"/>
<FileUpdate Files="@(TemplateCSProjFiles)" Regex="_NUGET_XAMARINFORMSTIZENPLATFORM_VER_" ReplacementText="$(XamarinFormsPlatformTizenVersion)"/>
<FileUpdate Files="@(TemplateCSProjFiles)" Regex="_NUGET_TIZENWEARABLECIRCULARUI_VER_" ReplacementText="$(TizenWearableCircleUIVersion)"/>
<FileUpdate Files="@(TemplateCSProjFiles)" Regex="_NUGET_TIZENOPENTK_VER_" ReplacementText="$(TizenOpenTKVersion)"/>
</Target>


Expand Down
31 changes: 10 additions & 21 deletions docs/how-to-install.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,38 +41,27 @@ Tizen emulator for Visual Studio requires an equivalent environment with an emul
## Visual Studio Tools for Tizen Installation ##
The following steps are needed in installing Visual Studio Tools for Tizen.

#### 1. Set private gallery for VSIX ####

* Tools → Options.. → Extensions and Updates → Change your Extensions and Update settings or

* Tools → Options → Environment → Extensions and Updates
![Extensions and Update](image/HowToInstall_ExtensionsandUpdates1.png)

* Click the Add button and set URL (Check firewall about ```IP : 10.113.138.168 / Port : 80, 443```)
* for Stable Version : http://10.113.138.168/packages/vsext/vsix/content.xml
* for Developer Version : http://10.113.138.168/packages/vsext/vsix/content_swc.xml
![Extensions and Gallery](image/HowToInstall_ExtensionsandUpdates2.png)

* Click OK button

#### 2. Install VSIX ####
#### 1. Install public VSIX ####

* TOOLS → Extensions and Updates..
* Select Online tab on leftside and select the private gallery you just added
* Select Online tab on leftside, write the keyword Tizen in the search box.

* Click Download button on Visual Studio Tools for Tizen
![Extensions and Updates](image/HowToInstall_ExtensionsandUpdates3.png)

* Visual Studio Tools for Tizen will be installed after you close the Visual Studio
![VSIX Installer](image/HowToInstall_ExtensionsandUpdates4.png)

#### 3. Setup Baseline SDK ####
#### 2. Setup private Baseline SDK ####

For using Tizen SDK Tools, you have to install Baseline SDK.
For using Tizen SDK Tools, you have to install public Baseline SDK, then you should modify Package manager configuration with private url.
However, if you already installed Tizen Studio in your host, you can just set the tool-path instead of installation.

* For using with Visual Studio, your Tizen Studio should be installed from ```tizen_studio``` or ```tizen_studio_2.0``` distributions.
* You can check Package repository and distribution which you installed. (Run Package manager > Configuration)
* For using with Visual Studio, your Tizen Studio should be installed from ```tizen_studio_3.0``` or ```tizen_studio``` distributions.

#### Case : First install private Tizen Studio ####
* Install public Baseline SDK.
* Check Package repository and distribution which you installed. (Run Package manager > Configuration)
* And change configuration with private url http:/10.113.138.168/packages
![Package Manager](image/HowToInstall_PackageMgrConf.png)

#### Case : Already installed Tizen Studio ####
Expand Down
Binary file added docs/image/add_new_item.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/image/arch.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/image/close_application.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/image/create_xaml.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/image/data_type_allocations.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/image/data_type_charts.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/image/execute_stop.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/image/heap_profile.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/image/hotpath_tab.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/image/launch_application.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/image/memory_profile.png
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 added docs/image/memory_profiler_gui_flame_graph.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/image/memory_profiler_gui_managed_heap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/image/memory_profiling_app_started.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/image/memory_profiling_msvs_output.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/image/mouse_right.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/image/open_session.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/image/open_session_explorer.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/image/profile_session_viewer.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/image/profiler_output_window.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/image/profiler_workspace.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/image/profiling_progress.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/image/profiling_progress_debugger.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/image/profiling_progress_delayed.png
Binary file added docs/image/profiling_progress_jit_gc.png
Binary file added docs/image/run_memory_profiler.png
Binary file added docs/image/run_memory_profiler_gui.png
Binary file modified docs/image/run_profiler.png
Binary file modified docs/image/run_profiler_setting.png
Binary file modified docs/image/select_interval.png
Binary file modified docs/image/session_explorer.png
Binary file added docs/image/session_explorer_memory_profiler.png
Binary file modified docs/image/session_properties.png
Binary file added docs/image/start_emulator.png
Binary file added docs/image/timeline_context_menu.png
Binary file added docs/image/timeline_cpu_utilization_filter.png
Binary file added docs/image/timeline_gc_filter.png
Binary file added docs/image/timeline_jit_filter.png
Binary file added docs/image/tizen_options_live_profiler.png
Binary file added docs/image/xaml_arch.png
Binary file added docs/image/xaml_build_app.png
Binary file added docs/image/xaml_build_ext.png
Binary file added docs/image/xaml_icon.png
Binary file added docs/image/xaml_run.png
Binary file added docs/image/xaml_sdk_path.png
2 changes: 2 additions & 0 deletions docs/packaging/how-to-build-cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,13 @@ If Tizen .NET Core project refers to the `Tizen.NET.Sdk` package, TPK file will

1. Add feed to Nuget.config to restore `Tizen.NET.Sdk`
- NuGet.Config file location : https://docs.microsoft.com/en-us/nuget/consume-packages/configuring-nuget-behavior#config-file-locations-and-uses
- Develop channel : https://tizen.myget.org/F/dotnet/api/v3/index.json

```xml
<configuration>
<packageSources>
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
<add key="TizenMyGET" value="https://tizen.myget.org/F/dotnet/api/v3/index.json" />
</packageSources>
</configuration>
```
Expand Down
6 changes: 5 additions & 1 deletion docs/packaging/how-to-build-vs.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,12 @@ If Tizen .NET Core project refers to the `Tizen.NET.Sdk` package, TPK file will

### Prerequisites ###
1. Install Visual Studio Tools for Tizen
- Install Guide : https://developer.tizen.org/development/visual-studio-tools-tizen/installing-visual-studio-tools-tizen
- Install Guide : https://github.sec.samsung.net/dotnet/vs-tools-cps/blob/master/docs/how-to-install.md

1. Add feed to Nuget.config to restore `Tizen.NET.Sdk`
- Tools > Options > NuGet Package Manager > Package Sources
- Develop channel : https://tizen.myget.org/F/dotnet/api/v3/index.json
![How To Build Add Nuget Feed](../image/HowToBuild_AddNugetFeed.png)

### Create a TPK Package with Visual Studio ###

Expand Down
11 changes: 9 additions & 2 deletions docs/packaging/how-to-create-tpk.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,19 @@

## Prerequisites

1. .NET CLI
Add feed to Nuget.config (https://tizen.myget.org/F/dotnet/api/v3/index.json) (develop channel) to restore Tizen.NET.Sdk develop version.

1. Visual Studio 2017

![Nuget Tizen.Net.Sdk](../image/nuget-tizen.net.sdk.png)

2. .NET CLI

```
dotnet add package Tizen.NET.Sdk --version 0.9.18-pre1 --source https://tizen.myget.org/F/dotnet/api/v3/index.json
```
2. .CSPROJ
3. .CSPROJ
```xml
<ItemGroup>
<PackageReference Include="Tizen.NET.Sdk" Version="0.9.18-pre1" />
Expand Down
4 changes: 2 additions & 2 deletions docs/packaging/how-to-customize-tpk.md
Original file line number Diff line number Diff line change
Expand Up @@ -414,5 +414,5 @@ Example Code :


## See Also
- [Packaging tpk with Tizen.NET.Sdk](https://github.com/Samsung/build-task-tizen/blob/master/doc/tizen.net.sdk-packaging-tpk.md)
- [Tizen.NET.Sdk Reference](https://github.com/Samsung/build-task-tizen/blob/master/doc/tizen.net.sdk-reference.md)
- [Packaging tpk with Tizen.NET.Sdk](https://github.sec.samsung.net/dotnet/build-task-tizen/blob/master/doc/tizen.net.sdk-packaging-tpk.md)
- [Tizen.NET.Sdk Reference](https://github.sec.samsung.net/dotnet/build-task-tizen/blob/master/doc/tizen.net.sdk-reference.md)
63 changes: 63 additions & 0 deletions docs/tools/memory-profiler-user-manual.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
# Get Started with Memory Profiling (Preview)
### Step 1. Running Memory Profiler
* In the menu, choose Tools > Tizen > Profiler > Run Memory Profiler.

![Run Memory Profiler](../image/run_memory_profiler.png)


* If no Tizen device is connected and no Tizen emulators are running then Emulator Manager will be started. Please launch the type of emulator you want to use for running and profiling your application.

![Launch Emulator](../image/start_emulator.png)


* If everything is OK then the application starts as if you run it normally (using Start Debugging in Visual Studio).

![Tizen application running](../image/memory_profiling_app_started.png)


* Output Window will display any information messages (debug, warnings, etc).

![Memory Profiler Output Window](../image/memory_profiling_msvs_output.png)


* The memory profiling data will be displayed with the Memory Profiler GUI after finishing the application or after closing it. The application can be closed by pressing "Home" or "Back" buttons.

![Close Application](../image/close_application.png)


* Also you can display any previous debug session with Session Explorer (In the menu, Tools > Tizen > Profiler > Session Explorer).

![Open Session Explorer](../image/open_session_explorer.png)

![Open Session Explorer](../image/session_explorer_memory_profiler.png)

### Step 2. Analyzing the results
* The GUI application provides several views to the memory profiling data. The views include:

- summary page with information on which process was profiled, its total runtime, some memory related statistics, etc.
- bottom-up table tree view of the code locations that allocated memory with their aggregated cost and stack traces
- caller/callee table
- top-down table tree view of the code locations
- managed heap table tree view
- flame graph visualization (explanation: <http://www.brendangregg.com/FlameGraphs/memoryflamegraphs.html>)
- consumed memory size over time graph
- number of instances over time graph
- number of memory allocations over time graph
- size of memory allocated over time graph
- allocation histogram displaying the number of allocations (the total number and the several topmost code locations) belonging to one of the groups divided by allocation size (0 - 8 bytes, 9 - 16 bytes, ... , 512 bytes - 1 KB, more than 1 KB)

#### Managed heap view sample

![Managed heap view](../image/memory_profiler_gui_managed_heap.png)

#### Flame graph view sample

![Flame graph view](../image/memory_profiler_gui_flame_graph.png)

#### Memory allocations graph view sample

![Memory allocations graph view](../image/memory_profiler_gui_allocations_graph.png)

#### Allocation histogram view sample

![Allocation histogram view](../image/memory_profiler_gui_allocation_histogram.png)
Loading

0 comments on commit de7574c

Please sign in to comment.