Description
Currently when I generate a new MAUI app, I first need to edit the project file before it can be built. It would be nice if it delivered an app that could be built immediately.
Currently when I do this:
dotnet new maui -n testapp
dotnet build testapp
I get the error
The project depends on the following workload packs that do not exist in any of the workloads available in this installation: Microsoft.ios.Sdk.net7
The project depends on the following workload packs that do not exist in any of the workloads available in this installation: Microsoft.maccatalyst.Sdk.net7
Then I need to move net7.0-ios and net7.0-maccatalyst to a conditional:
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('OSX'))">$(TargetFrameworks);net7.0-ios;net7.0-maccatalyst</TargetFrameworks>
Since (AFAIK) building for iOS and Mac is only supported on MacOS. I'm using Debian, and it's clearly not supported there.
Public API Changes
None as far as I know
Intended Use-Case
dotnet new maui -n testapp
dotnet build testapp
Should build successfully
Description
Currently when I generate a new MAUI app, I first need to edit the project file before it can be built. It would be nice if it delivered an app that could be built immediately.
Currently when I do this:
I get the error
Then I need to move
net7.0-iosandnet7.0-maccatalystto a conditional:Since (AFAIK) building for iOS and Mac is only supported on MacOS. I'm using Debian, and it's clearly not supported there.
Public API Changes
None as far as I know
Intended Use-Case
Should build successfully