Skip to content

MissingMethodException after updating from 2.5.0 to 2.6.0 #2701

@martincostello

Description

@martincostello

Describe the bug

A PR from renovate updating from 2.5.0 to 2.6.0 (martincostello/api#3011) fails CI due to a MissingMethodException:

/home/runner/.nuget/packages/microsoft.extensions.apidescription.server/10.0.2/build/Microsoft.Extensions.ApiDescription.Server.targets(67,5): error :  ---> System.MissingMethodException: Method not found: 'System.Collections.Generic.IDictionary`2<System.String,Microsoft.OpenApi.OpenApiMediaType> Microsoft.OpenApi.IOpenApiResponse.get_Content()'.

Likely introduced by changes in #2699.

OpenApi File To Reproduce

N/A

Expected behavior

No exception is thrown.

Screenshots/Code Snippets

See above.

Additional context

None.

Metadata

Metadata

Assignees

Labels

priority:p0Blocking issue/ loss of critical functions. An ICM may be filed to communicate urgency. SLA<=48hrstype:bugA broken experiencetype:regressionA bug from previous release

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions