You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've tried to build the repository (dotnet run from build directory) but it ends up with errors like:
-------- dotnet pack -c Release in d:\src\SQLitePCL.raw\src\SQLitePCLRaw.lib.e_sqlite3.android
MSBuild version 17.3.4+a400405ba for .NET
Determining projects to restore...
C:\Program Files\dotnet\sdk\6.0.428\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.ImportWorkloads.targets(38,5): error NETSDK1147: To build this project, the following workloads must be installed: android [d:\src\SQLitePCL.raw\src\SQLitePCLRaw.lib.e_sqlite3.android\SQLitePCLRaw.lib.e_sqlite3.android.csproj]
C:\Program Files\dotnet\sdk\6.0.428\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.ImportWorkloads.targets(38,5): error NETSDK1147: To install these workloads, run the following command: dotnet workload restore [d:\src\SQLitePCL.raw\src\SQLitePCLRaw.lib.e_sqlite3.android\SQLitePCLRaw.lib.e_sqlite3.android.csproj]
When trying to do dotnet workload restore from the directory mentioned in the error message I'm getting cryptic error - when looking at the verbose output there are some clues which suggest that net6.0 should not be used since it's out of support (also when changing global.json to use net8.0 the error becomes more explicit that it's out of support):
...
[NuGet Manager] [Info] GET https://dnceng.pkgs.visualstudio.com/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/49a1bb2b-12b0-475f-adbd-1560fc76be38/nuget/v3/registrations2-semver2/microsoft.net.workload.emscripten.manifest-6.0.400.msi.x64/index.json
[NuGet Manager] [Info] NotFound https://dnceng.pkgs.visualstudio.com/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/49a1bb2b-12b0-475f-adbd-1560fc76be38/nuget/v3/registrations2-semver2/microsoft.net.sdk.maccatalyst.manifest-6.0.400.msi.x64/index.json 215ms
...
Installing b243304ddf63e366ff3ad2eb76c7a5e5-x64.msi ................ Failed
Workload installation failed. Rolling back installed packs...
Workload installation failed: Failed to install b243304ddf63e366ff3ad2eb76c7a5e5-x64.msi. Error: 0x00000652. Another installation is already in progress. Complete that installation before proceeding with this install.
I believe the proper fix is to remove net6.0 references (or replace them with net8.0).
The text was updated successfully, but these errors were encountered:
krwq
linked a pull request
Feb 5, 2025
that will
close
this issue
I've tried to build the repository (
dotnet run
frombuild
directory) but it ends up with errors like:When trying to do
dotnet workload restore
from the directory mentioned in the error message I'm getting cryptic error - when looking at the verbose output there are some clues which suggest that net6.0 should not be used since it's out of support (also when changingglobal.json
to usenet8.0
the error becomes more explicit that it's out of support):I believe the proper fix is to remove net6.0 references (or replace them with net8.0).
The text was updated successfully, but these errors were encountered: