-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Description
I wonder if there are any policies regarding installing 3rd-party workloads in the dotnet 6.0 sdk.
I am trying to make a third-party workload for providing net6.0-tizen TFM in .NET 6.0. This is very important factor to support the tizen backend of MAUI.
- Tizen workload repository : https://github.com/Samsung/Tizen.NET/tree/main/workload
- Tizen workload manifest package: https://www.nuget.org/packages/Samsung.NET.Sdk.Tizen.Manifest-6.0.100/
However, If I create the workload manifest files in <dotnet>/sdk-manifests/6.0.100/samsung.net.sdk.tizen directory and try to install workload packs using dotnet workload install tizen, the following error occurs.
Installing pack Samsung.Tizen.Sdk version 6.5.100-rc.1.92...
Workload installation failed, rolling back installed packs...
Rolling back pack Samsung.Tizen.Sdk installation...
Workload installation failed: Failed to validate package signing.
Verifying Samsung.Tizen.Sdk.6.5.100-rc.1.92
Signature type: Repository
Subject Name: CN=NuGet.org Repository by Microsoft, O=NuGet.org Repository by Microsoft, L=Redmond, S=Washington, C=US
SHA256 hash: 5A2901D6ADA3D18260B9C6DFE2133C95D74B9EEF6AE0E5DC334C8454D1477DF4
Valid from: 2/16/2021 9:00:00 AM to 5/16/2024 8:59:59 AMIn the following code, I found that only first-party packages are allowed to be downloaded in Windows environment.
sdk/src/Cli/dotnet/NugetPackageDownloader/FirstPartyNuGetPackageSigningVerifier.cs
Line 46 in d01e5c7
| return NuGetVerify(nupkgToVerify, out commandOutput) && IsFirstParty(nupkgToVerify); |
After all, third party workloads cannot be installed with the workload install command. Of course, it is possible to avoid the download process by downloading all the workload packs in advance. But I want to know the exact policy of the dotnet workload.