dotnet / dotnet/sdk

Project '../../Project.csproj' targets 'net10.0-android;net10.0-ios;net10.0-maccatalyst'. It cannot be referenced by a project that targets '.NETCoreApp,Version=v10.0'.

Open
#54,420 22 comments 0 reactions 0 assignees View on GitHub
Area-NetSDK untriaged
Dominant language
C#
Stars
3.2k
Forks
1.3k
PR merge metrics
PR metrics pending

Description

### Describe the bug

After upgrading to 10.0.300 I'm unable to build MAUI projects with the following error.

/usr/local/share/dotnet/sdk/10.0.300/Microsoft.Common.CurrentVersion.targets(1891,5): error : Project '../../MountainMap.Mobile/MountainMap.Mobile.csproj' targets 'net10.0-android;net10.0-ios;net10.0-maccatalyst'. It cannot be referenced by a project that targets '.NETCoreApp,Version=v10.0'.

### To Reproduce

build a MAUI project on MacOS.

### Exceptions (if any)

### Further technical details
details of dotnet --info

.NET 10.0.300
Command Line

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.