Skip to content

Conversation

@cotti
Copy link
Contributor

@cotti cotti commented Jul 1, 2025

Upon running the workflow for deploying redirects, docs-assembler returned the following error:

Amazon.RuntimeDependencies.MissingRuntimeDependencyException: Operation failed because of a missing runtime dependency. In Native AOT builds runtime dependencies can not be dynamically loaded from assembles. Instead the runtime dependency needs to be explicitly registered. To complete this operation register an instance of Amazon.Extensions.CrtIntegration.CrtAWS4aSigner from package AWSSDK.Extensions.CrtIntegration using the operation Amazon.RuntimeDependencies.GlobalRuntimeDependencyRegistry.Instance.RegisterSigV4aProvider.

This PR adds the necessary changes. System.Private.Uri is explicitly added due to vulnerabilities present in a previous version that AWSSDK.Extensions.CrtIntegration has a dependency on, fixed in the newest version.

@cotti cotti self-assigned this Jul 1, 2025
@cotti cotti requested a review from a team as a code owner July 1, 2025 18:23
@cotti cotti added the fix label Jul 1, 2025
@cotti cotti closed this Jul 1, 2025
@cotti
Copy link
Contributor Author

cotti commented Jul 1, 2025

The approach was changed. AWS's v4 support for AOT specifically with CrtIntegrations is not ready.

@Mpdreamz Mpdreamz deleted the fix/aws_aot_fix branch July 14, 2025 09:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants