-
Notifications
You must be signed in to change notification settings - Fork 4.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
net7.0-ios16.1 depends on non-existent Microsoft.AspNetCore.App.Ref 7.0.20 #102214
Comments
.net 7.0 is out of support now, so change 7.0 to 8.0
|
This seems to be breakage in the last .NET 7.0 update. It should be fixed regardless of the support status. |
[Triage] @bnickel it look like you're running a pre-release version of the .NET SDK, is that correct? |
If that is true, you need a nuget.config that is configured to with the prerelease feeds to acquire the 7.0 runtime from. |
7.0.20 and SDK 8.0.301 are now officially released to fix a security issue. So this should now work. |
Description
I have a library with
<TargetFramework>net7.0-ios</TargetFramework>
. Runningdotnet build
fails witherror NU1102: Unable to find package Microsoft.NETCore.App.Ref with version (= 7.0.20)
Reproduction Steps
Create the following csproj:
Run
dotnet build
Expected behavior
The build succeeds.
Actual behavior
The build fails with the following message:
The .nuget.dgspec.json contains the following:
And:
Regression?
No response
Known Workarounds
No response
Configuration
dotnet 8.0.301
macOS 14.4.1
Arm64
Other information
No response
The text was updated successfully, but these errors were encountered: