Samsung / Tizen.NET

Welcome to Tizen .NET
Other
205 stars 30 forks source link

Workload installation fails, cannot compile MAUI projects #277

Open TAMHAN opened 2 months ago

TAMHAN commented 2 months ago

Dear Friends, please allow me to report a weird happening on my Windows 11 workstation. For a newspaper article, I had to reinstall the Tizen workload. I get the following errors: PS C:\Users\tamha> dotnet workload install tizen

Das Werbemanifest wurde nicht aktualisiert. Das Manifestpaket für samsung.net.sdk.tizen ist nicht vorhanden. Downloading Samsung.Tizen.Sdk.Msi.x64 (8.0.138) Fehler bei der Workloadinstallation. Für die installierten Pakete wird ein Rollback ausgeführt... Fehler bei der Workloadinstallation: One or more errors occurred. ("Version "8.0.138" des Pakets "samsung.tizen.sdk.msi.x64"" wurde in NuGet-Feeds "https://api.nuget.org/v3/index.json;C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\" nicht gefunden.) PS C:\Users\tamha> dotnet workload install tizen --include-previews

Das Werbemanifest wurde nicht aktualisiert. Das Manifestpaket für samsung.net.sdk.tizen ist nicht vorhanden. Downloading Samsung.Tizen.Sdk.Msi.x64 (8.0.138) Fehler bei der Workloadinstallation. Für die installierten Pakete wird ein Rollback ausgeführt... Fehler bei der Workloadinstallation: One or more errors occurred. ("Version "8.0.138" des Pakets "samsung.tizen.sdk.msi.x64"" wurde in NuGet-Feeds "https://api.nuget.org/v3/index.json;C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\" nicht gefunden.) PS C:\Users\tamha> dotnet workload install tizen --include-previews --skip-manifest-update

Downloading Samsung.Tizen.Sdk.Msi.x64 (8.0.138) Fehler bei der Workloadinstallation. Für die installierten Pakete wird ein Rollback ausgeführt... Fehler bei der Workloadinstallation: One or more errors occurred. ("Version "8.0.138" des Pakets "samsung.tizen.sdk.msi.x64"" wurde in NuGet-Feeds "https://api.nuget.org/v3/index.json;C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\" nicht gefunden.) PS C:\Users\tamha>

The dotnet info yields the following: PS C:\Users\tamha> dotnet --info .NET SDK: Version: 8.0.300-preview.24203.14 Commit: b7e38f457d Workload version: 8.0.300-manifests.72a3b485 MSBuild version: 17.10.0+4f6b1bb28

Laufzeitumgebung: OS Name: Windows OS Version: 10.0.22631 OS Platform: Windows RID: win-x64 Base Path: C:\Program Files\dotnet\sdk\8.0.300-preview.24203.14\

Installierte .NET-Workloads: [android] Installationsquelle: SDK 8.0.300-preview.24203, VS 17.9.34728.123, VS 17.10.34818.151 Manifestversion: 34.0.95/8.0.100 Manifestpfad: C:\Program Files\dotnet\sdk-manifests\8.0.100\microsoft.net.sdk.android\34.0.95\WorkloadManifest.json Installationstyp: FileBased

[aspire] Installationsquelle: SDK 8.0.300-preview.24203, VS 17.10.34818.151 Manifestversion: 8.0.0-preview.6.24214.1/8.0.100 Manifestpfad: C:\Program Files\dotnet\sdk-manifests\8.0.100\microsoft.net.sdk.aspire\8.0.0-preview.6.24214.1\WorkloadManifest.json Installationstyp: FileBased

[ios] Installationsquelle: SDK 8.0.300-preview.24203, VS 17.9.34728.123, VS 17.10.34818.151 Manifestversion: 17.2.8053/8.0.100 Manifestpfad: C:\Program Files\dotnet\sdk-manifests\8.0.100\microsoft.net.sdk.ios\17.2.8053\WorkloadManifest.json Installationstyp: FileBased

[maccatalyst] Installationsquelle: SDK 8.0.300-preview.24203, VS 17.9.34728.123, VS 17.10.34818.151 Manifestversion: 17.2.8053/8.0.100 Manifestpfad: C:\Program Files\dotnet\sdk-manifests\8.0.100\microsoft.net.sdk.maccatalyst\17.2.8053\WorkloadManifest.json Installationstyp: FileBased

[maui-windows] Installationsquelle: SDK 8.0.300-preview.24203, VS 17.9.34728.123, VS 17.10.34818.151 Manifestversion: 8.0.7/8.0.100 Manifestpfad: C:\Program Files\dotnet\sdk-manifests\8.0.100\microsoft.net.sdk.maui\8.0.7\WorkloadManifest.json Installationstyp: FileBased

Host: Version: 8.0.4 Architecture: x64 Commit: 2d7eea2529

.NET SDKs installed: 3.0.103 [C:\Program Files\dotnet\sdk] 6.0.111 [C:\Program Files\dotnet\sdk] 6.0.421 [C:\Program Files\dotnet\sdk] 8.0.204 [C:\Program Files\dotnet\sdk] 8.0.300-preview.24203.14 [C:\Program Files\dotnet\sdk]

.NET runtimes installed: Microsoft.AspNetCore.App 3.0.3 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 3.1.32 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 6.0.11 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 6.0.27 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 6.0.29 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 7.0.16 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 7.0.18 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 8.0.2 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 8.0.4 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App] Microsoft.NETCore.App 3.0.3 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.NETCore.App 3.1.32 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.NETCore.App 6.0.11 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.NETCore.App 6.0.27 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.NETCore.App 6.0.29 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.NETCore.App 7.0.16 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.NETCore.App 7.0.18 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.NETCore.App 8.0.2 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.NETCore.App 8.0.4 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.WindowsDesktop.App 3.0.3 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App] Microsoft.WindowsDesktop.App 3.1.32 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App] Microsoft.WindowsDesktop.App 6.0.11 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App] Microsoft.WindowsDesktop.App 6.0.27 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App] Microsoft.WindowsDesktop.App 6.0.29 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App] Microsoft.WindowsDesktop.App 7.0.16 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App] Microsoft.WindowsDesktop.App 7.0.18 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App] Microsoft.WindowsDesktop.App 8.0.2 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App] Microsoft.WindowsDesktop.App 8.0.4 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]

Other architectures found: x86 [C:\Program Files (x86)\dotnet] registered at [HKLM\SOFTWARE\dotnet\Setup\InstalledVersions\x86\InstallLocation]

Environment variables: Not set

global.json file: Not found

Learn more: https://aka.ms/dotnet/info

Download .NET: https://aka.ms/dotnet/download PS C:\Users\tamha>

I have also already tried to restrict with global.json to a version 6 of the SDK, and it also does not work.

github-actions[bot] commented 4 days ago

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

TAMHAN commented 1 day ago

Hello,

thank you. Sadly, I still was not able to solve this issue.

Tam

With best regards Tam HANNA

-- Enjoy electronics, 3D printing and cigars? Join more than 21000 followers on my Instagram athttp://www.instagram.com/tam.hanna

On 2024. 06. 29. 17:04, github-actions[bot] wrote:

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

— Reply to this email directly, view it on GitHub https://github.com/Samsung/Tizen.NET/issues/277#issuecomment-2198224358, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADSUERMLJX22HK4F3JNWBHDZJ3EHLAVCNFSM6AAAAABKDIO4F6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJYGIZDIMZVHA. You are receiving this because you authored the thread.Message ID: @.***>

sung-su commented 1 day ago

@TAMHAN I apologize for the delayed response. Unfortunately, unlike other platforms, Tizen workload installation is a different due to provider differences. You can install an VS extension or use a script. Thank you.