-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
dotnet restore
failing for empty project under arm64
#8182
Comments
Full .csproj for reference, using sdk 7.0.100.
|
Same issue here. |
Thanks for the report. We're tracking this in the NuGet repository at the moment (MSBuild calls into NuGet APIs on that codepath, and they're what seems to be going wrong). |
Duplicate of NuGet/Home#12227 |
Just to be clear, the issue occurs from nuget, but this is a null reference exception and presumably still a bug in msbuild if an incorrect invocation of msbuild crashes like this. Unsure how you prioritise these sort of issues, thanks. |
Ah sorry, this symptom is actually dotnet/runtime#78340 -- but still not in the MSBuild layer. |
I'm using docker buildx to build under and emulated arm64 environment, this may be a bug with buildx instead, but I do not have a native arm64 environment to test on and the error occurs inside msbuild.
Steps to reproduce:
dotnet new console -o CrashSample
cd CrashSample
touch Dockerfile
docker buildx build . --platform linux/arm64
Attempting the same build without buildx or buildx specifying linux/amd64 both run to completion.
Also, to note, this build fails with a different error when building against platform linux/arm/7. This error is not an msbuild unhandled exceptions so might not fit into the same category as above, but might be of use figuring out what's going on.
Thanks!
The text was updated successfully, but these errors were encountered: