maui: Debug start fails for Tizen App
Description
I would like to ask about 2 issues related to Tizen framework.
- No Tizen target devices are found on Visual Studio
- Deploy failed for Tizen
No Tizen target devices are Found
On Visual Studio, Tizen target devices or emulators are not targeted when net6.0-tizen target framework is selected.
- In case of Android

- In case of Tizen (It just shows Windows Machine)

Tizen target devices are shown only when net6.0-tizen is coded at the very first target framework like below.
However, in this case no other target devices are selected.
<TargetFrameworks>net6.0-tizen;net6.0-android;net6.0-ios;net6.0-maccatalyst</TargetFrameworks>
Deploy failed for Tizen
When I tried to do Start without debugging(Ctrl + F5) It fails with appxrecipe file does not exist.
It seems like a similar issue occured to windows target framework(https://github.com/dotnet/maui/issues/2493).
The detailed log is following
Starting local deployment...
Deploy: START
DeployAsync: START
Reading package recipe file "C:\Users\jh5.cho\source\repos\MauiApp4\MauiApp4\bin\Debug\net6.0-tizen\tizen-x86\MauiApp4.build.appxrecipe"...
DEP1700: The recipe file "C:\Users\jh5.cho\source\repos\MauiApp4\MauiApp4\bin\Debug\net6.0-tizen\tizen-x86\MauiApp4.build.appxrecipe" does not exist. You may need to build your project.
DeploymentSucceeded = False
DeploymentError = Err_Recipe_DoesNotExist
DeploymentUserError = False
DeploymentHRESULT = 2147942402
HasSharedCode = False
Target.Id = 256
ProjectGuid = {6ede1560-7c5a-42a9-8e6a-cdc97d06616f}
Project.TargetPlatformVersion = 7.0
Deleting file "vs.appxrecipe" from layout...
DeployAsync: END (Failure, 0:00:00.103)
Deploy: END (Failure, 0:00:00.171)
Steps to Reproduce
- Install Visual Studio Tools for Tizen on Visual Studio 2022 Preview and install Tizen workload.(https://github.com/Samsung/Tizen.NET/wiki/Installing-Tizen-.NET-Workload)
- Create Maui template application and uncomment
net6.0-tizenTargetFramework at csproj like below.
<PropertyGroup>
<TargetFrameworks>net6.0-android;net6.0-ios;net6.0-maccatalyst</TargetFrameworks>
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net6.0-windows10.0.19041.0</TargetFrameworks>
<!-- Uncomment to also build the tizen app. You will need to install tizen by following this: https://github.com/Samsung/Tizen.NET -->
<TargetFrameworks>$(TargetFrameworks);net6.0-tizen</TargetFrameworks> <-- uncommend this line.
- Select Framework on the menu and see how the devices are detected.
Version with bug
6.0 (current)
Last version that worked well
Unknown/Other
Affected platforms
Other (Tizen, Linux, etc. not supported by Microsoft directly)
Affected platform versions
Tizen
Did you find any workaround?
No workaround.
Relevant log output
Following log is shown when the app is deployed.
Starting local deployment...
Deploy: START
DeployAsync: START
Reading package recipe file "C:\Users\jh5.cho\source\repos\MauiApp4\MauiApp4\bin\Debug\net6.0-tizen\tizen-x86\MauiApp4.build.appxrecipe"...
DEP1700: The recipe file "C:\Users\jh5.cho\source\repos\MauiApp4\MauiApp4\bin\Debug\net6.0-tizen\tizen-x86\MauiApp4.build.appxrecipe" does not exist. You may need to build your project.
DeploymentSucceeded = False
DeploymentError = Err_Recipe_DoesNotExist
DeploymentUserError = False
DeploymentHRESULT = 2147942402
HasSharedCode = False
Target.Id = 256
ProjectGuid = {6ede1560-7c5a-42a9-8e6a-cdc97d06616f}
Project.TargetPlatformVersion = 7.0
Deleting file "vs.appxrecipe" from layout...
DeployAsync: END (Failure, 0:00:00.103)
Deploy: END (Failure, 0:00:00.171)
DevOps Issues
About this issue
- Original URL
- State: open
- Created 2 years ago
- Reactions: 4
- Comments: 18 (5 by maintainers)
@veikkoeeva when installing tizen workload, before doing step 3 in here, make sure you start VS as admin. it is not mentioned in the docs.
@samhouts sorry I missed this. I think it should get assigned to the VSCX Tools team, with an AzDO bug and then we could close this
@mattleibow - any idea if this is on the Tizen radar? In Teams or elsewhere?
We’ve moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process.
Hey, thanks @sangwook96 and @JoonghyunCho!
I will check the instruction tomorrow. I used the sample so to have a simple starting project with Windows, Android, Apple OSes and Tizen included. In fact one with a WebView, but maybe it won’t be a hassle. It may be a Tizen becomes an interesting/important use case, at leat in Europe. Though I don’t want to hijack this issue anymore. Thanks again! 😃