-
Notifications
You must be signed in to change notification settings - Fork 565
Open
Labels
Area: App+Library BuildIssues when building Library projects or Application projects.Issues when building Library projects or Application projects.Area: CoreCLRIssues that only occur when using CoreCLR.Issues that only occur when using CoreCLR.needs-triageIssues that need to be assigned.Issues that need to be assigned.
Description
Android framework version
net11.0-android (Preview)
Affected platform version
11.0.100-preview.1.26071.101
Description
Cannot build CoreCLR R2R (non-composite) .NET sample app in debug configuration with the latest workloads crashes with
dotnet/arm64/packs/Microsoft.Android.Sdk.Darwin/36.1.99-ci.main.92/targets/Microsoft.Android.Sdk.AssemblyResolution.targets(198,5): error MSB4096: The item "obj/Debug/net11.0-android/android-arm64/NetAndroidDefault.pdb" in item list "ResolvedSymbols" does not define a value for metadata "DestinationSubPath". In order to use this metadata, either qualify it by specifying %(ResolvedSymbols.DestinationSubPath), or ensure that all items in this list define a value for this metadata.
Steps to Reproduce
Install the latest workloads (the one used for this were)
{
"microsoft.net.sdk.android": "36.1.99-ci.main.92/11.0.100-alpha.1",
"microsoft.net.sdk.ios": "26.2.11301-ci.net11-0/11.0.100-alpha.1",
"microsoft.net.sdk.maccatalyst": "26.2.11301-ci.net11-0/11.0.100-alpha.1",
"microsoft.net.sdk.macos": "26.2.11301-ci.net11-0/11.0.100-alpha.1",
"microsoft.net.sdk.maui": "11.0.0-ci.net11.26072.12/11.0.100-alpha.1",
"microsoft.net.sdk.tvos": "26.2.11301-ci.net11-0/11.0.100-alpha.1"
}
Try building .NET android sample app with
--configuration Debug --runtime android-arm64 --framework net11.0-android /p:UseMonoRuntime=false /p:PublishReadyToRun=true /p:PublishReadyToRunComposite=false --self-contained /p:EnableWindowsTargeting=true
Did you find any workaround?
No other than use R2R-Composite.
Relevant log output
dotnet/arm64/packs/Microsoft.Android.Sdk.Darwin/36.1.99-ci.main.92/targets/Microsoft.Android.Sdk.AssemblyResolution.targets(198,5): error MSB4096: The item "obj/Debug/net11.0-android/android-arm64/NetAndroidDefault.pdb" in item list "ResolvedSymbols" does not define a value for metadata "DestinationSubPath". In order to use this metadata, either qualify it by specifying %(ResolvedSymbols.DestinationSubPath), or ensure that all items in this list define a value for this metadata.
Metadata
Metadata
Assignees
Labels
Area: App+Library BuildIssues when building Library projects or Application projects.Issues when building Library projects or Application projects.Area: CoreCLRIssues that only occur when using CoreCLR.Issues that only occur when using CoreCLR.needs-triageIssues that need to be assigned.Issues that need to be assigned.