-
Notifications
You must be signed in to change notification settings - Fork 564
Closed
Labels
needs-triageIssues that need to be assigned.Issues that need to be assigned.
Description
Android framework version
net10.0-android (Preview)
Affected platform version
.NET 10
Description
We are seeing an issue such as:
/tmp/tapp$ ./dotnet-local.sh new android
The template "Android Application" was created successfully.
/tmp/tapp$ ./dotnet-local.sh build ./tapp.csproj -t:Install -c Release -bl:msbuild-Install.binlog -f net10.0-android -p:AppendRuntimeIdentifierToOutputPath=true -p:PublishTrimmed=true
Determining projects to restore...
.../bin/Release/dotnet/sdk/10.0.100-preview.6.25304.106/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/tapp/tapp.csproj]
.../bin/Release/dotnet/sdk/10.0.100-preview.6.25304.106/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 [/tmp/tapp/tapp.csproj]
This was introduced in:
Revert the changes in that commit to:
build-tools\create-packs\ConfigureLocalWorkload.targets
See if things work with that reverted and consider a different approach.
Steps to Reproduce
./dotnet-local.sh new androidon Linux, with a local build./dotnet-local.sh build
Did you find any workaround?
No response
Relevant log output
Copilot
Metadata
Metadata
Assignees
Labels
needs-triageIssues that need to be assigned.Issues that need to be assigned.