Skip to content
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 publish ready to run ARM64 self-contain failed on latest SDK #45716

Open
DexterWoo opened this issue Jan 6, 2025 · 1 comment
Open
Labels
Area-ReadyToRun untriaged Request triage from a team member

Comments

@DexterWoo
Copy link

target Platform: net6.0-windows10.0.17763.0
publish command: dotnet publish .\R2RBuildFail.csproj -p:PublishProfile=win10-arm64.pubxml,Platform=ARM64 -c release

github repo:
https://github.com/DexterWoo/R2RBuildFailSample/tree/main-fail

the project can be build with 6.0.425 SDK but failed with higher versions of SDK.

@dotnet-issue-labeler dotnet-issue-labeler bot added Area-NetSDK untriaged Request triage from a team member labels Jan 6, 2025
@baronfel
Copy link
Member

baronfel commented Jan 6, 2025

This is an issue with the R2R IL Compiler, I've added that area label. .NET 6 is out of support, however, so there may not be a supported solution to your problem.

I was able to publish successfully using your repo if I moved to a net8.0 TargetFramework - I'd encourage you to update as it is the current LTS version of .NET.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-ReadyToRun untriaged Request triage from a team member
Projects
None yet
Development

No branches or pull requests

2 participants