-
Notifications
You must be signed in to change notification settings - Fork 202
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
After latest update of NativeAOT cannot publish samples #1451
Comments
This is side-effect of dotnet/runtime#57143 that updated SDK to unsigned build. You either need to copy the samples out so that they do not pick up repo global.json; or install the unsigned SDK from the nightly feed globally. |
I'm a bit lazy, so I comment out `<clear />` in the Nuget.config
Also I receive warning `warning NETSDK1179: One of '--self-contained' or
'--no-self-contained' options are required when '--runtime' is used.`. I
assume that I should use `../../.dotnet/dotnet publish --self-contained -c
Release -r linux-arm --packages pkg /p:DisableUnsupportedError=true` . Is
this correct?
…On Tue, Aug 24, 2021 at 9:06 AM Jan Kotas ***@***.***> wrote:
Closed #1451 <#1451>.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#1451 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABAPKN262X7WVV6FQWJH76TT6MEEBANCNFSM5CV4AXDQ>
.
|
Yep, that works too.
Yes, specifying |
After these steps
Publish fails with this message.
The text was updated successfully, but these errors were encountered: