</PropertyGroup>
<Message Text="Workspace: '$(WorkspaceFolder)'" Importance="high" />
- <Exec Command="C:\tizen-studio\tools\tizen-core\tz.exe pack -S $(ProjectDir) $(WorkspaceFolder)"> </Exec>
+ <Exec Command="C:\tizen-studio\tools\tizen-core\tz.exe pack-chain -w $(ProjectDir) -S $(ProjectDir)"> </Exec>
</Target>
</Project>
-<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
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
" />\r
+ </Target>-->\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
+# Default profile, Tizen API version
+profile: tizen
+api_version: "9.0"
+
+# Build type [Debug/ Release/ Test]
+build_type: Debug
+
+# Output path for build
+output_path:
+
+# Signing profile to be used for Tizen package signing
+# If value is empty: "", active signing profile will be used
+# Else If value is ".", default signing profile will be used
+signing_profile:
+pack_as_rpk: true
+
# files monitored for dirty/modified status
files:
+ - Controller/AdapterController.cs
+ - Controller/DeviceController.cs
+ - Controller/ViewController.cs
+ - Directory.Build.targets
+ - Model/BtDevice.cs
+ - Model/BtEnumerations.cs
+ - Model/BtEventArgs.cs
+ - Model/BtModel.cs
+ - Model/BtModelImpl.cs
+ - SettingBluetooth.cs
- SettingBluetooth.csproj
+ - TextResources/Resources.Designer.cs
+ - TextResources/Resources.en-US.resx
+ - TextResources/Resources.ko-KR.resx
+ - TextResources/Resources.resx
+ - View/BtDetailView.cs
+ - View/BtDeviceView.cs
+ - View/BtMainView.cs
+ - View/ResourceManager.cs
+ - res/allowed/SettingBluetooth/images/bluetooth-icon.svg
+ - res/allowed/SettingBluetooth/images/bluetooth_icon.svg
+ - res/allowed/SettingBluetooth/images/bluetooth_icon_dark.svg
+ - res/allowed/SettingBluetooth/images/bluetooth_info_icon.svg
+ - res/allowed/SettingBluetooth/images/bluetooth_info_icon_dark.svg
+ - res/allowed/SettingBluetooth/images/icon.png
+ - res/allowed/SettingBluetooth/images/icon_camera.png
+ - res/allowed/SettingBluetooth/images/icon_computer.png
+ - res/allowed/SettingBluetooth/images/icon_display.png
+ - res/allowed/SettingBluetooth/images/icon_gaming.png
+ - res/allowed/SettingBluetooth/images/icon_headphone.png
+ - res/allowed/SettingBluetooth/images/icon_headset.png
+ - res/allowed/SettingBluetooth/images/icon_health.png
+ - res/allowed/SettingBluetooth/images/icon_keyboard.png
+ - res/allowed/SettingBluetooth/images/icon_mobilephone.png
+ - res/allowed/SettingBluetooth/images/icon_mouse.png
+ - res/allowed/SettingBluetooth/images/icon_network_infrastructure.png
+ - res/allowed/SettingBluetooth/images/icon_printer.png
+ - res/allowed/SettingBluetooth/images/icon_unknown.png
+ - res/allowed/SettingBluetooth/images/icon_wrist.png
+ - res/allowed/SettingBluetooth/images/tizen.png
+ - res/allowed/org.tizen.appfw.gadget.setting-bluetooth/en-US/SettingBluetooth.resources.dll
+ - res/allowed/org.tizen.appfw.gadget.setting-bluetooth/ko-KR/SettingBluetooth.resources.dll
- tizen-manifest.xml
-# Enable to pack as rpk
-pack_as_rpk: true
+# project dependencies
+deps: []
+
+# Source files matching these pattern will always be excluded from build
+src_file_patterns: []
+
+# Source files matching these patterns will only be included while building in test mode
+test_file_patterns: []
# List of resource files to be packed in rpk
resources:
- res/
-
\ No newline at end of file
+++ /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