/nix/store/1yr9ih9yy8j5prxdx725ma3w3grg8p2f-dotnet-sdk-6.0.100/sdk/6.0.100/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 [/tmp/DirectPackageInstaller/DirectPackageInstaller/DirectPackageInstaller.Android/DirectPackageInstaller.Android.csproj]
/nix/store/1yr9ih9yy8j5prxdx725ma3w3grg8p2f-dotnet-sdk-6.0.100/sdk/6.0.100/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.ImportWorkloads.targets(38,5): error NETSDK1147: To install these workloads, run the following command: dotnet workload install android [/tmp/DirectPackageInstaller/DirectPackageInstaller/DirectPackageInstaller.Android/DirectPackageInstaller.Android.csproj
P.S: Don't pay attention to strange paths like /nix/store/<hash>/... it's a nix thing
I'm trying to build it from Linux (NixOs), and got those errors while running
dotnet restore
The SDK is installed correctly
But still got those errors:
P.S: Don't pay attention to strange paths like
/nix/store/<hash>/...
it's a nix thing