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

cannot publish nativeaot sample #143

Open
ivanjx opened this issue Nov 7, 2024 · 0 comments
Open

cannot publish nativeaot sample #143

ivanjx opened this issue Nov 7, 2024 · 0 comments
Labels
All OS help wanted Extra attention is needed Known Issue

Comments

@ivanjx
Copy link

ivanjx commented Nov 7, 2024

when trying to use dotnet publish -c Release -r win-x64 i always get PublishTrimmed is implied by native compilation and cannot be disabled.

but when i remove the <PublishTrimmed>False</PublishTrimmed> the app is stuck at:

image

and the app is stuck even in debug mode.

update: on top of that, after removing the publish trimmed option, i get another error: The command ""C:\Users\x\.nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\8.0.8\tools\\ilc" @"obj\Release\net8.0\win-x64\native\Photino.Blazor.NativeAOT.ilc.rsp"" exited with code -1073740791.

@MikeYeager MikeYeager added help wanted Extra attention is needed All OS Known Issue labels Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
All OS help wanted Extra attention is needed Known Issue
Projects
None yet
Development

No branches or pull requests

2 participants