Skip to content

Null Reference when deploying to k8s #3472

Answered by dscpinheiro
ilariosa asked this question in Q&A
Discussion options

You must be logged in to vote

Oh, you're using AOT... Unfortunately version 3.7.301 of the AWSSDK.Extensions.NETCore.Setup package is not Native AOT compatible (which explains the warnings you saw during the build). Do you still see the error without the PublishAot option?

We also have a preview version of AWSSDK.Extensions.NETCore.Setup that is compatible with AOT, but it'll require you to update the SDK packages too: https://www.nuget.org/packages/AWSSDK.Extensions.NETCore.Setup/4.0.0-preview.2 (this issue has a list of all breaking changes currently included in the V4 preview: #3362)

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@ilariosa
Comment options

@dscpinheiro
Comment options

Answer selected by ilariosa
@ilariosa
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants