dotnet / sdk

Core functionality needed to create .NET Core projects, that is shared between Visual Studio and CLI
https://dot.net/core
MIT License
2.59k stars 1.03k forks source link

restore failing on Alpine arm32 #35676

Open richlander opened 9 months ago

richlander commented 9 months ago

See PR: https://github.com/dotnet/dotnet-docker/pull/4907

8.243 /usr/share/dotnet/sdk/8.0.100-rc.1.23463.5/Microsoft.Common.CurrentVersion.targets(5167,5): error MSB3030: Could not copy the file "/source/obj/Release/net8.0/linux-musl-arm/apphost" because it was not found. [/source/aspnetapp.csproj]

Only failed on linux-musl-arm.

dotnet-issue-labeler[bot] commented 9 months ago

I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.

mthalman commented 9 months ago

@richlander - This must be a regression in 8.0, right? I believe we were successfully using this command for the 7.0 samples.

richlander commented 9 months ago

Right.

ghost commented 9 months ago

Thanks for creating this issue! We believe this issue is related to NuGet tooling, which is maintained by the NuGet team. Thus, we closed this one and encourage you to raise this issue in the NuGet repository instead. Don’t forget to check out NuGet’s contributing guide before submitting an issue!

If you believe this issue was closed out of error, please comment to let us know.

Happy Coding!

baronfel commented 9 months ago

Reopened this - it's not a NuGet bug. Users should be able to restore for a particular architecture and the publish for that architecture without having to do an implicit restore.

baronfel commented 2 months ago

I'm having a hard time reproducing this one, and it looks like the --no-restore was added back in https://github.com/dotnet/dotnet-docker/pull/4958 - is this still a problem?