Closed PerfectlyFineCode closed 8 months ago
Hello @PerfectlyFineCode
PS> dotnet --version
-v
option. Just a script call is enough.C:\Program Files\dotnet\sdk-manifests\[version]\samsung.net.sdk.tizen
Thank you
Hello @PerfectlyFineCode
- Could you check your dotnet sdk version ? It seems that the version is not matched.
PS> dotnet --version
- You don't need to use the
-v
option. Just a script call is enough.- To restore the current abnormal state, a forced folder deletion may be required.
C:\Program Files\dotnet\sdk-manifests\[version]\samsung.net.sdk.tizen
- dotnet sdk 8.0 is a pre-release. Please use officially released dotnet sdk.
Thank you
I use 8.0.100-preview.5.23303.2
And here are my workloads after installing the VS extension.
Installed Workload Id Manifest Version Installation Source
------------------------------------------------------------------------------------------------------------------
android 34.0.0-preview.5.312/8.0.100-preview.5 SDK 8.0.100-preview.5, VS 17.6.33717.318
tizen 7.0.110/8.0.100-preview.5 SDK 8.0.100-preview.5
wasm-tools-net6 8.0.0-preview.5.23280.8/8.0.100-preview.5 SDK 8.0.100-preview.5
wasm-tools 8.0.0-preview.5.23280.8/8.0.100-preview.5 VS 17.6.33717.318
maui-windows 8.0.0-preview.5.8529/8.0.100-preview.5 VS 17.6.33717.318
ios 16.4.8525-net8-p5/8.0.100-preview.5 VS 17.6.33717.318
maccatalyst 16.4.8525-net8-p5/8.0.100-preview.5 VS 17.6.33717.318
maui-maccatalyst 8.0.0-preview.5.8529/8.0.100-preview.5 VS 17.6.33717.318
maui-ios 8.0.0-preview.5.8529/8.0.100-preview.5 VS 17.6.33717.318
maui-android 8.0.0-preview.5.8529/8.0.100-preview.5 VS 17.6.33717.318
Here's the csproj target framework
<TargetFrameworks>$(TargetFrameworks);net7.0-tizen8.0</TargetFrameworks>
When building I seem to get this error
Severity Code Description Project File Line Suppression State
Error NETSDK1139 The target platform identifier tizen was not recognized. MauiApp4 C:\Program Files\dotnet\sdk\7.0.304\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.TargetFrameworkInference.targets 112
I've done dotnet new globaljson --sdk-version 7.0.302
as the latest release mentions.
Even if I install a specific version I still get blob errors. If I let the extension install Tizen for me, same error occurs where the platform identifier 'tizen' was not found.
So nothing works.
Currently, tizen
workload identifier only recognized on the official released dotnet sdk.
8.0.100-preview.5.23303.2
is pre-release version.
This issue has being fixed and I recommended dotnet sdk 7.0 version.
If you have multiple versions of dotnet sdk installed, you can check the installation through the following options.
PS> ./workload-install.ps1 -u
Currently,
tizen
workload identifier only recognized on the official released dotnet sdk.8.0.100-preview.5.23303.2
is pre-release version. This issue has being fixed and I recommended dotnet sdk 7.0 version.If you have multiple versions of dotnet sdk installed, you can check the installation through the following options.
PS> ./workload-install.ps1 -u
Thank you! This worked.
1. It can compile and all, but I can't seem to debug it.
Severity Code Description Project File Line Suppression State
Error DEP1700: The recipe file "D:\Coding\MAUI\MauiApp4\MauiApp4\bin\Debug\net6.0-tizen\tizen-x86\MauiApp4.build.appxrecipe" does not exist. You may need to build your project. MauiApp5
Is this an issue with MAUI itself or with Tizen SDK? I saw that there are issues open about this specific issue. https://github.com/dotnet/maui/issues/8035
2.
While I installed the release build to my Samsung ARK through SDB, it refuses to open at all.
3.
I can't run an emulator as it drops -enable-whpx: invalid option
, this makes it hard to actually do anything.
And I will NOT disable Windows Subsystem for Linux and Virtual Machine Platform, which I use daily for my tasks.
Why is Tizen platform so tedious to get started with? This just makes me not want to make apps for your platform (Samsung).
@PerfectlyFineCode I am Sorry for your inconvenience.
@sangwook96-lee Please take a look on this and give some feedback. Thank you
Can you just use NuGet??? This is incredibly frustrating. When I try to update or install a workload, it will error out AND roll back the previously installed workloads, all because Tizen doesn't exist on NuGet.
Workload installation failed: One or more errors occurred. (samsung.tizen.sdk.msi.x64::7.0.120 is not found in NuGet feeds https://api.nuget.org/v3/index.json;C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\".)
This is a problem caused by different providers,
(only Tizen workload is provided by Samsung)
we are trying to solve this update problem.
You can bypass through the --skip-manifest-update
option.
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days
Please keep this open until the problem is fixed
@sangwook96-lee Please handover issues. @dkson95 Could you please take a look on this ?
@PerfectlyFineCode sorry for the inconvenience.
Would you re-install workload https://github.com/Samsung/Tizen.NET/wiki/Installing-Tizen-.NET-Workload to check ? FYI, Visual Studio 2022 Tools for Tizen was released recently on https://marketplace.visualstudio.com/items?itemName=tizen.VSToolsTizen2022.
MAUI app : there is still deployment issue to be used by tizen
(https://github.com/dotnet/maui/issues/8035) so, could you try using another templates (e.g., NUI app)
WHPX : You need to check the config on https://learn.microsoft.com/en-us/xamarin/android/get-started/installation/android-emulator/hardware-acceleration?pivots=windows#accelerating-with-hyper-v or check below commands on Windows PowerShell
1) Check the configuration
Get-WindowsOptionalFeature -FeatureName Microsoft-Hyper-V-All -Online
2) Enable Hyper-V & HypervisorPlatform
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All
Enable-WindowsOptionalFeature -Online -FeatureName HypervisorPlatform -All
Otherwise, you need to switch off WHPX and enable HAX by installing HAXM driver.
Thank you!
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days
Not completed.
cc/ @winstone77
Hi!
I'm trying to install the workload but unable to do so.
Any reason for this?
Now when i do
dotnet workload list
I get this error