-<!--
-***********************************************************************************************
-<Build.Directory.targets>
-WARNING: DO NOT MODIFY this file. Incorrect changes to this file will make it
- impossible to load or build your projects from the IDE.
-
-***********************************************************************************************
--->
-
-<Project>
- <Target Name="BuildDotnet" AfterTargets="TizenPackage" >
- <Message Text="Tizen Build starts here ------------" Importance="high"/>
- <Message Text="$(MSBuildProjectDirectory)" Importance="high"/>
- <PropertyGroup>
- <WorkspaceFolder>$([System.IO.Path]::GetDirectoryName($(MSBuildProjectDirectory)))</WorkspaceFolder>
- </PropertyGroup>
- <Message Text="Workspace: '$(WorkspaceFolder)'" Importance="high" />
-
- <Exec Command="C:\tizen-studio\tools\tizen-core\tz.exe pack -S $(ProjectDir) $(WorkspaceFolder)"> </Exec>
- </Target>
-</Project>
+<!--\r
+***********************************************************************************************\r
+<Build.Directory.targets>\r
+WARNING: DO NOT MODIFY this file. Incorrect changes to this file will make it\r
+ impossible to load or build your projects from the IDE.\r
+\r
+***********************************************************************************************\r
+-->\r
+\r
+<Project>\r
+ <Target Name="BuildDotnet" AfterTargets="TizenPackage" >\r
+ <Message Text="Tizen Build starts here ------------" Importance="high"/>\r
+ <Message Text="$(MSBuildProjectDirectory)" Importance="high"/>\r
+ <PropertyGroup>\r
+ <WorkspaceFolder>$([System.IO.Path]::GetDirectoryName($(MSBuildProjectDirectory)))</WorkspaceFolder>\r
+ </PropertyGroup>\r
+ <Message Text="Workspace: '$(WorkspaceFolder)'" Importance="high" />\r
+\r
+ <Exec Command="C:\Tizen-studio\tools\tizen-core\tz.exe pack-chain -w $(ProjectDir) -S $(ProjectDir)"> </Exec>\r
+ </Target>\r
+</Project>\r
-<Project Sdk="Tizen.NET.Sdk/1.2.0">
-
- <PropertyGroup>
- <TargetFramework>net6.0</TargetFramework>
- <TizenCreateTpkOnBuild>false</TizenCreateTpkOnBuild>
- </PropertyGroup>
-
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
- <DebugType>portable</DebugType>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
- <DebugType>None</DebugType>
- </PropertyGroup>
-
+<Project Sdk="Tizen.NET.Sdk/1.2.0">\r
+\r
+ <PropertyGroup>\r
+ <TargetFramework>net6.0</TargetFramework>\r
+ <TizenCreateTpkOnBuild>false</TizenCreateTpkOnBuild>\r
+ </PropertyGroup>\r
+\r
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">\r
+ <DebugType>portable</DebugType>\r
+ </PropertyGroup>\r
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">\r
+ <DebugType>None</DebugType>\r
+ </PropertyGroup>\r
+\r
<ItemGroup>\r
- <PackageReference Include="SettingCore" Version="1.0.346" />
- <PackageReference Include="Tizen.NET" Version="12.0.0.18044" />
- </ItemGroup>
-
- <ItemGroup>
- <Compile Update="TextResources\Resources.Designer.cs">
- <DesignTime>True</DesignTime>
- <AutoGen>True</AutoGen>
- <DependentUpon>Resources.resx</DependentUpon>
- </Compile>
- </ItemGroup>
-
- <ItemGroup>
- <EmbeddedResource Update="TextResources\Resources.en-US.resx">
- <Generator>PublicResXFileCodeGenerator</Generator>
- </EmbeddedResource>
- <EmbeddedResource Update="TextResources\Resources.ko-KR.resx">
- <Generator>PublicResXFileCodeGenerator</Generator>
- </EmbeddedResource>
- <EmbeddedResource Update="TextResources\Resources.resx">
- <Generator>PublicResXFileCodeGenerator</Generator>
- <LastGenOutput>Resources.Designer.cs</LastGenOutput>
- </EmbeddedResource>
- </ItemGroup>
-
- <PropertyGroup>
- <GadgetResourceType>org.tizen.appfw.gadget.setting-bluetooth</GadgetResourceType>
- </PropertyGroup>
-
- <Target Name="PostBuild" AfterTargets="PostBuildEvent">
- <Exec Command=":: Copy resource dll
rmdir /S /Q res\allowed\$(GadgetResourceType)
mkdir res\allowed\$(GadgetResourceType)
rmdir /S /Q res\allowed\locale
mkdir res\allowed\locale
dir $(OutDir)\
xcopy /S /K /D /H /Y $(OutDir)\ res\allowed\locale
del /Q res\allowed\locale\*.*
xcopy /S /K /D /H /Y res\allowed\locale\* res\allowed\$(GadgetResourceType)
rmdir /S /Q res\allowed\locale
" />
- </Target>
-
-</Project>
+ <PackageReference Include="SettingCore" Version="1.0.346" />\r
+ <PackageReference Include="Tizen.NET" Version="12.0.0.18044" />\r
+ </ItemGroup>\r
+\r
+ <ItemGroup>\r
+ <Compile Update="TextResources\Resources.Designer.cs">\r
+ <DesignTime>True</DesignTime>\r
+ <AutoGen>True</AutoGen>\r
+ <DependentUpon>Resources.resx</DependentUpon>\r
+ </Compile>\r
+ </ItemGroup>\r
+\r
+ <ItemGroup>\r
+ <EmbeddedResource Update="TextResources\Resources.en-US.resx">\r
+ <Generator>PublicResXFileCodeGenerator</Generator>\r
+ </EmbeddedResource>\r
+ <EmbeddedResource Update="TextResources\Resources.ko-KR.resx">\r
+ <Generator>PublicResXFileCodeGenerator</Generator>\r
+ </EmbeddedResource>\r
+ <EmbeddedResource Update="TextResources\Resources.resx">\r
+ <Generator>PublicResXFileCodeGenerator</Generator>\r
+ <LastGenOutput>Resources.Designer.cs</LastGenOutput>\r
+ </EmbeddedResource>\r
+ </ItemGroup>\r
+\r
+ <PropertyGroup>\r
+ <GadgetResourceType>org.tizen.appfw.gadget.setting-bluetooth</GadgetResourceType>\r
+ </PropertyGroup>\r
+\r
+ <Target Name="PostBuild" AfterTargets="PostBuildEvent">\r
+ <Exec Command=":: Copy resource dll
\r
+ dir $(OutDir)\
\r
+ mkdir res\allowed\$(GadgetResourceType)
\r
+ xcopy /S /K /D /H /Y $(OutDir)\en-US res\allowed\$(GadgetResourceType)\en-US\
\r
+ xcopy /S /K /D /H /Y $(OutDir)\ko-KR res\allowed\$(GadgetResourceType)\ko-KR\
" />\r
+ </Target>\r
+\r
+</Project>\r
internal static void ShowBtOnMessage()
{
- mBtMessage.Text = string.Format(ResourceManager.TextResourceManager.NUIGadgetResourceManager.GetString(nameof(Resources.IDS_BT_BODY_YOUR_DEVICE_IS_CURRENTLY_VISIBLE_TO_NEARBY_DEVICES)), ResourceManager.TextResourceManager.NUIGadgetResourceManager.GetString(nameof(Resources.IDS_BT_BODY_YOUR_DEVICE_IS_CURRENTLY_VISIBLE_TO_NEARBY_DEVICES_MODEL_NAME)));
+ mBtMessage.Text = string.Format(ResourceManager.TextResourceManager.NUIGadgetResourceManager.GetString(nameof(Resources.IDS_BT_BODY_YOUR_DEVICE_IS_CURRENTLY_VISIBLE_TO_NEARBY_DEVICES)), BtModel.Name);
}
internal static void ShowBtTurningOnMessage()
-# csproj file path
-csproj_file: SettingBluetooth.csproj
-
-# files monitored for dirty/modified status
-files:
- - SettingBluetooth.csproj
- - tizen-manifest.xml
-
-# Enable to pack as rpk
-pack_as_rpk: true
-
-# List of resource files to be packed in rpk
-resources:
- - res/
-
\ No newline at end of file
+# csproj file path\r
+csproj_file: SettingBluetooth.csproj\r
+\r
+# Default profile, Tizen API version\r
+profile: tizen\r
+api_version: "9.0"\r
+\r
+# Build type [Debug/ Release/ Test]\r
+build_type: Debug\r
+\r
+# Output path for build\r
+output_path: \r
+\r
+# Signing profile to be used for Tizen package signing\r
+# If value is empty: "", active signing profile will be used\r
+# Else If value is ".", default signing profile will be used\r
+signing_profile: \r
+pack_as_rpk: true\r
+\r
+# files monitored for dirty/modified status\r
+files:\r
+ - Controller/AdapterController.cs\r
+ - Controller/DeviceController.cs\r
+ - Controller/ViewController.cs\r
+ - Directory.Build.targets\r
+ - Model/BtDevice.cs\r
+ - Model/BtEnumerations.cs\r
+ - Model/BtEventArgs.cs\r
+ - Model/BtModel.cs\r
+ - Model/BtModelImpl.cs\r
+ - SettingBluetooth.cs\r
+ - SettingBluetooth.csproj\r
+ - TextResources/Resources.Designer.cs\r
+ - TextResources/Resources.en-US.resx\r
+ - TextResources/Resources.ko-KR.resx\r
+ - TextResources/Resources.resx\r
+ - View/BtDetailView.cs\r
+ - View/BtDeviceView.cs\r
+ - View/BtMainView.cs\r
+ - View/ResourceManager.cs\r
+ - res/allowed/SettingBluetooth/images/bluetooth-icon.svg\r
+ - res/allowed/SettingBluetooth/images/bluetooth_icon.svg\r
+ - res/allowed/SettingBluetooth/images/bluetooth_icon_dark.svg\r
+ - res/allowed/SettingBluetooth/images/bluetooth_info_icon.svg\r
+ - res/allowed/SettingBluetooth/images/bluetooth_info_icon_dark.svg\r
+ - res/allowed/SettingBluetooth/images/icon.png\r
+ - res/allowed/SettingBluetooth/images/icon_camera.png\r
+ - res/allowed/SettingBluetooth/images/icon_computer.png\r
+ - res/allowed/SettingBluetooth/images/icon_display.png\r
+ - res/allowed/SettingBluetooth/images/icon_gaming.png\r
+ - res/allowed/SettingBluetooth/images/icon_headphone.png\r
+ - res/allowed/SettingBluetooth/images/icon_headset.png\r
+ - res/allowed/SettingBluetooth/images/icon_health.png\r
+ - res/allowed/SettingBluetooth/images/icon_keyboard.png\r
+ - res/allowed/SettingBluetooth/images/icon_mobilephone.png\r
+ - res/allowed/SettingBluetooth/images/icon_mouse.png\r
+ - res/allowed/SettingBluetooth/images/icon_network_infrastructure.png\r
+ - res/allowed/SettingBluetooth/images/icon_printer.png\r
+ - res/allowed/SettingBluetooth/images/icon_unknown.png\r
+ - res/allowed/SettingBluetooth/images/icon_wrist.png\r
+ - res/allowed/SettingBluetooth/images/tizen.png\r
+ - res/allowed/org.tizen.appfw.gadget.setting-bluetooth/en-US/SettingBluetooth.resources.dll\r
+ - res/allowed/org.tizen.appfw.gadget.setting-bluetooth/ko-KR/SettingBluetooth.resources.dll\r
+ - tizen-manifest.xml\r
+\r
+# project dependencies\r
+deps: []\r
+\r
+# Source files matching these pattern will always be excluded from build\r
+src_file_patterns: []\r
+\r
+# Source files matching these patterns will only be included while building in test mode\r
+test_file_patterns: []\r
+\r
+# List of resource files to be packed in rpk\r
+resources:\r
+ - res/\r
+++ /dev/null
-# Enable auto build file generation
-auto_gen_build_files: true
-# Workspace type, [native/web/dotnet]
-type: hybrid
-# Package ID for the Tizen package
-package_id:
-# version for the Tizen package
-version:
-# Default profile
-profile: mobile
-# Tizen API version
-api_version: 7.0
-# Path of profiles.xml, containing the signing profiles
- # If value is empty, the profiles.xml in the data_path specified in tizen-studio/tools/tizen-core/config.yaml will be used
-profiles_xml_path:
-# Signing profile to be used for Tizen package signing
- # If value is empty, active signing profile will be used
-signing_profile: ''
-# Build type [debug/ release/ test]
-build_type: debug
-# Rootstrap for compiling native app
-rootstrap: public
-# Default compiler for native app compilation
-compiler: llvm
-# Default path for dotnet-cli
-dotnet_cli_path:
-# Default path for msbuild
-msbuild_path:
-# Default tool for dotnet build [dotnet-cli/ msbuild]
-dotnet_build_tool: dotnet-cli
-# Default nuget version for Tizen.Net
-tizen_net_version:
-# Default nuget version for Xamarin.Forms
-tizen_net_sdk_verison: 1.1.9
-# Default nuget version for MSBuild.Tasks
-xamarin_forms_version: 5.0.0.2515
-# Default nuget version for Tizen.Wearable.CircleUI
-msbuild_tasks_version:
-# Default nuget version for Tizen.Wearable.CircleUI
-tizen_wearable_circleui_version: 1.5.0
-# Default nuget version for Tizen.OpenTK
-tizen_opentk_version: 3.0.2
-# Default nuget version for Tizen.NUI.Xaml
-tizen_nuixaml_version: 1.0.34
-# Default nuget version for Tizen.HotReload
-tizen_hotreload_version: 1.0.1
-# Working folder for dotnet & web workspace, paths to csproj or sln or config.xml, if empty all projects will be build
-working_folder:
-# Default path for Google Chrome
-chrome_path:
-# Default options to be passed to Chrome when running web simulator
-chrome_simulator_options:
-- --allow-file-access-from-files
-- --disable-web-security
-- --proxy-auto-detect
-# Default path for Web Simulator data
-chrome_simulator_data_path: C:\tizen-studio\tools\websimulator\sdk-profile-data
-# Default path for Samsung Tizen TV Simulator
-tv_simulator_path: C:\tizen-studio\tools\sec-tv-simulator\simulator.exe
-# Default options to be passed to Chrome when running web inspector
-chrome_inspector_options:
-- --no-first-run
-- --activate-on-launch
-- --no-default-browser-check
-- --allow-file-access-from-files
-- --disable-web-security
-- --disable-translate
-- --proxy-auto-detect
-- --proxy-bypass-list=127.0.0.1
-- --enable-blink-features=ShadowDOMV0
-- --enable-blink-features=CustomElementsV0
-# Default path for Web Inspector data
-chrome_inspector_data_path: C:\tizen-studio-data\chrome-user-data
-# default arch for build, [x86/ x86_64/ arm/ aarch64]
-arch: x86
-# Enable size optimization of wgt for web workspace
-opt: false
-# Source files matching these pattern will always be excluded from build
-src_file_patterns:
-- _exclude*
-# Source files matching these patterns will only be included while building in test mode
-test_file_patterns:
-- _test*
-# List of projects in the workspace and their dependencies
-projects:
- SettingBluetooth: []
-# Skip generating files needed for VS
-skip_vs_files: false