Skip to content

[net11.0] error testing dotnet-run #24605

@jonathanpeppers

Description

@jonathanpeppers

Apple platform

iOS

Framework version

net11.0-*

Affected platform version

11.0.100-preview.1.26081.107

Description

dotnet run prints the error:

   failed with 1 error(s) (0.8s)
    /Users/jopeppers/dotnet-sdk-11.0.100-preview.1.26081.107-osx-arm64/packs/Microsoft.iOS.Sdk.net11.0_26.2/26.2.11310-net11-p1/targets/Microsoft.Sdk.Mobile.targets(173,4): error MSB4028: The "GetAvailableDevices" task's outputs could not be retrieved from the "DiscardedDevices" parameter. Parameter "includeEscaped" cannot have zero length.

Build failed with 1 error(s) in 0.8s

And I don't get the iOS device selection prompt.

Steps to Reproduce

  1. dotnet new maui
  2. dotnet run, pick net11.0-ios

Did you find any workaround?

It will still run the app in the default simulator.

Build logs

.binlog files:

Archive.zip

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions