Skip to content

AddSystemsManager throws exception #201

@harry-hathorn

Description

@harry-hathorn

Describe the bug

Upgrade to .net 9.0 and install latest stable version fails to AddSystemsManager

Regression Issue

  • Select this option if this issue appears to be a regression.

Expected Behavior

I have upgrade to .net 9 and upgraded to package to


<PackageReference Include="Amazon.AspNetCore.DataProtection.SSM" Version="3.5.0" />
<PackageReference Include="Amazon.Extensions.Configuration.SystemsManager" Version="6.2.2" />

Now when i try add system manager i get error

 builder.Configuration.AddSystemsManager($"/PreProduction/", new AWSOptions
   {
       Region = RegionEndpoint.EUWest1
   });

Error

System.TypeLoadException: 'Virtual static method 'CreateDefaultClientConfig' is not implemented on type 'Amazon.SimpleSystemsManagement.AmazonSimpleSystemsManagementClient' from assembly 'AWSSDK.SimpleSystemsManagement, Version=3.3.0.0, Culture=neutral, PublicKeyToken=885c28607f98e604'.'

The same code worked perfectly with my .net 8.0 version.

Current Behavior

throwing error.

Reproduction Steps

install packages, add system manager, run solution.

Possible Solution

No response

Additional Information/Context

No response

AWS .NET SDK and/or Package version used

Amazon.Extensions.Configuration.SystemsManager 6.2.2

Targeted .NET Platform

.net 9

Operating System and version

windows 10 & ubuntu-latest

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThis issue is a bug.needs-triageThis issue or PR still needs to be triaged.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions