Skip to content

Implement SEP-973: Icons and metadata support for Implementations, Resources, Tools, and Prompts #779

Implement SEP-973: Icons and metadata support for Implementations, Resources, Tools, and Prompts

Implement SEP-973: Icons and metadata support for Implementations, Resources, Tools, and Prompts #779

Re-run triggered September 19, 2025 22:32
Status Failure
Total duration 6m 4s
Artifacts 6

ci-build-test.yml

on: pull_request
Matrix: build
publish-coverage  /  publish-coverage
publish-coverage / publish-coverage
Fit to window
Zoom out
Zoom in

Annotations

60 errors and 2 notices
ModelContextProtocol.Tests.Protocol.IconTests.Icon_DeserializationWithMissingSrc_ThrowsJsonException(invalidJson: "{\"mimeType\":\"image/png\": /_/tests/ModelContextProtocol.Tests/Protocol/IconTests.cs#L71
Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(System.Text.Json.JsonException) Actual: typeof(System.InvalidOperationException) ---- System.InvalidOperationException : Reflection-based serialization has been disabled for this application. Either use the source generator APIs or explicitly configure the 'JsonSerializerOptions.TypeInfoResolver' property.
ModelContextProtocol.Tests.Protocol.IconTests.Icon_DeserializationWithMissingSrc_ThrowsJsonException(invalidJson: "{\"mimeType\":\"image/png\"}"): /_/tests/ModelContextProtocol.Tests/Protocol/IconTests.cs#L71
Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(System.Text.Json.JsonException) Actual: typeof(System.InvalidOperationException) ---- System.InvalidOperationException : Reflection-based serialization has been disabled for this application. Either use the source generator APIs or explicitly configure the 'JsonSerializerOptions.TypeInfoResolver' property.
ModelContextProtocol.Tests.Protocol.IconTests.Icon_DeserializationWithInvalidJson_ThrowsJsonException(invalidJson: "[]"): /_/tests/ModelContextProtocol.Tests/Protocol/IconTests.cs#L81
Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(System.Text.Json.JsonException) Actual: typeof(System.InvalidOperationException) ---- System.InvalidOperationException : Reflection-based serialization has been disabled for this application. Either use the source generator APIs or explicitly configure the 'JsonSerializerOptions.TypeInfoResolver' property.
ModelContextProtocol.Tests.Protocol.IconTests.Icon_DeserializationWithInvalidJson_ThrowsJsonException(invalidJson: "true"): /_/tests/ModelContextProtocol.Tests/Protocol/IconTests.cs#L81
Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(System.Text.Json.JsonException) Actual: typeof(System.InvalidOperationException) ---- System.InvalidOperationException : Reflection-based serialization has been disabled for this application. Either use the source generator APIs or explicitly configure the 'JsonSerializerOptions.TypeInfoResolver' property.
ModelContextProtocol.Tests.Protocol.IconTests.Icon_DeserializationWithInvalidJson_ThrowsJsonException(invalidJson: "false"): /_/tests/ModelContextProtocol.Tests/Protocol/IconTests.cs#L81
Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(System.Text.Json.JsonException) Actual: typeof(System.InvalidOperationException) ---- System.InvalidOperationException : Reflection-based serialization has been disabled for this application. Either use the source generator APIs or explicitly configure the 'JsonSerializerOptions.TypeInfoResolver' property.
ModelContextProtocol.Tests.Protocol.IconTests.Icon_DeserializationWithInvalidJson_ThrowsJsonException(invalidJson: "null"): /_/tests/ModelContextProtocol.Tests/Protocol/IconTests.cs#L81
Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(System.Text.Json.JsonException) Actual: typeof(System.InvalidOperationException) ---- System.InvalidOperationException : Reflection-based serialization has been disabled for this application. Either use the source generator APIs or explicitly configure the 'JsonSerializerOptions.TypeInfoResolver' property.
ModelContextProtocol.Tests.Protocol.IconTests.Icon_DeserializationWithInvalidJson_ThrowsJsonException(invalidJson: "42"): /_/tests/ModelContextProtocol.Tests/Protocol/IconTests.cs#L81
Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(System.Text.Json.JsonException) Actual: typeof(System.InvalidOperationException) ---- System.InvalidOperationException : Reflection-based serialization has been disabled for this application. Either use the source generator APIs or explicitly configure the 'JsonSerializerOptions.TypeInfoResolver' property.
ModelContextProtocol.Tests.Protocol.ToolTests.Tool_SerializationRoundTrip_PreservesAllProperties: /_/tests/ModelContextProtocol.Tests/Protocol/ToolTests.cs#L8
System.InvalidOperationException : Reflection-based serialization has been disabled for this application. Either use the source generator APIs or explicitly configure the 'JsonSerializerOptions.TypeInfoResolver' property.
ModelContextProtocol.Tests.Protocol.ToolTests.Tool_HasCorrectJsonPropertyNames: /_/tests/ModelContextProtocol.Tests/Protocol/ToolTests.cs#L73
System.InvalidOperationException : Reflection-based serialization has been disabled for this application. Either use the source generator APIs or explicitly configure the 'JsonSerializerOptions.TypeInfoResolver' property.
ModelContextProtocol.Tests.Protocol.ToolTests.Tool_SerializationRoundTrip_WithMinimalProperties: /_/tests/ModelContextProtocol.Tests/Protocol/ToolTests.cs#L49
System.InvalidOperationException : Reflection-based serialization has been disabled for this application. Either use the source generator APIs or explicitly configure the 'JsonSerializerOptions.TypeInfoResolver' property.
ModelContextProtocol.Tests.Protocol.ImplementationTests.Implementation_SerializationRoundTrip_WithoutOptionalProperties: /_/tests/ModelContextProtocol.Tests/Protocol/ImplementationTests.cs#L48
System.InvalidOperationException : Reflection-based serialization has been disabled for this application. Either use the source generator APIs or explicitly configure the 'JsonSerializerOptions.TypeInfoResolver' property.
ModelContextProtocol.Tests.Protocol.ImplementationTests.Implementation_DeserializationWithMissingRequiredProperties_ThrowsJsonException(invalidJson: "{\"title\":\"Test Server\": /_/tests/ModelContextProtocol.Tests/Protocol/ImplementationTests.cs#L94
Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(System.Text.Json.JsonException) Actual: typeof(System.InvalidOperationException) ---- System.InvalidOperationException : Reflection-based serialization has been disabled for this application. Either use the source generator APIs or explicitly configure the 'JsonSerializerOptions.TypeInfoResolver' property.
ModelContextProtocol.Tests.Protocol.ImplementationTests.Implementation_DeserializationWithMissingRequiredProperties_ThrowsJsonException(invalidJson: "{}"): /_/tests/ModelContextProtocol.Tests/Protocol/ImplementationTests.cs#L94
Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(System.Text.Json.JsonException) Actual: typeof(System.InvalidOperationException) ---- System.InvalidOperationException : Reflection-based serialization has been disabled for this application. Either use the source generator APIs or explicitly configure the 'JsonSerializerOptions.TypeInfoResolver' property.
ModelContextProtocol.Tests.Protocol.ImplementationTests.Implementation_DeserializationWithMissingRequiredProperties_ThrowsJsonException(invalidJson: "{\"title\":\"Test Server\"}"): /_/tests/ModelContextProtocol.Tests/Protocol/ImplementationTests.cs#L94
Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(System.Text.Json.JsonException) Actual: typeof(System.InvalidOperationException) ---- System.InvalidOperationException : Reflection-based serialization has been disabled for this application. Either use the source generator APIs or explicitly configure the 'JsonSerializerOptions.TypeInfoResolver' property.
ModelContextProtocol.Tests.Protocol.ImplementationTests.Implementation_DeserializationWithMissingRequiredProperties_ThrowsJsonException(invalidJson: "{\"name\":\"test-server\"}"): /_/tests/ModelContextProtocol.Tests/Protocol/ImplementationTests.cs#L94
Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(System.Text.Json.JsonException) Actual: typeof(System.InvalidOperationException) ---- System.InvalidOperationException : Reflection-based serialization has been disabled for this application. Either use the source generator APIs or explicitly configure the 'JsonSerializerOptions.TypeInfoResolver' property.
ModelContextProtocol.Tests.Protocol.ImplementationTests.Implementation_DeserializationWithMissingRequiredProperties_ThrowsJsonException(invalidJson: "{\"name\":\"test-server\": /_/tests/ModelContextProtocol.Tests/Protocol/ImplementationTests.cs#L94
Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(System.Text.Json.JsonException) Actual: typeof(System.InvalidOperationException) ---- System.InvalidOperationException : Reflection-based serialization has been disabled for this application. Either use the source generator APIs or explicitly configure the 'JsonSerializerOptions.TypeInfoResolver' property.
ModelContextProtocol.Tests.Protocol.ImplementationTests.Implementation_DeserializationWithMissingRequiredProperties_ThrowsJsonException(invalidJson: "{\"version\":\"1.0.0\"}"): /_/tests/ModelContextProtocol.Tests/Protocol/ImplementationTests.cs#L94
Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(System.Text.Json.JsonException) Actual: typeof(System.InvalidOperationException) ---- System.InvalidOperationException : Reflection-based serialization has been disabled for this application. Either use the source generator APIs or explicitly configure the 'JsonSerializerOptions.TypeInfoResolver' property.
ModelContextProtocol.Tests.Protocol.PromptTests.Prompt_SerializationRoundTrip_WithMinimalProperties: /_/tests/ModelContextProtocol.Tests/Protocol/PromptTests.cs#L50
System.InvalidOperationException : Reflection-based serialization has been disabled for this application. Either use the source generator APIs or explicitly configure the 'JsonSerializerOptions.TypeInfoResolver' property.
ModelContextProtocol.Tests.Protocol.PromptTests.Prompt_HasCorrectJsonPropertyNames: /_/tests/ModelContextProtocol.Tests/Protocol/PromptTests.cs#L74
System.InvalidOperationException : Reflection-based serialization has been disabled for this application. Either use the source generator APIs or explicitly configure the 'JsonSerializerOptions.TypeInfoResolver' property.
ModelContextProtocol.Tests.Protocol.PromptTests.Prompt_SerializationRoundTrip_PreservesAllProperties: /_/tests/ModelContextProtocol.Tests/Protocol/PromptTests.cs#L8
System.InvalidOperationException : Reflection-based serialization has been disabled for this application. Either use the source generator APIs or explicitly configure the 'JsonSerializerOptions.TypeInfoResolver' property.
ModelContextProtocol.Tests.Protocol.ImplementationTests.Implementation_DeserializationWithMissingRequiredProperties_ThrowsJsonException(invalidJson: "{\"title\":\"Test Server\": /_/tests/ModelContextProtocol.Tests/Protocol/ImplementationTests.cs#L94
Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(System.Text.Json.JsonException) Actual: typeof(System.InvalidOperationException) ---- System.InvalidOperationException : Reflection-based serialization has been disabled for this application. Either use the source generator APIs or explicitly configure the 'JsonSerializerOptions.TypeInfoResolver' property.
ModelContextProtocol.Tests.Protocol.ImplementationTests.Implementation_DeserializationWithMissingRequiredProperties_ThrowsJsonException(invalidJson: "{\"name\":\"test-server\"}"): /_/tests/ModelContextProtocol.Tests/Protocol/ImplementationTests.cs#L94
Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(System.Text.Json.JsonException) Actual: typeof(System.InvalidOperationException) ---- System.InvalidOperationException : Reflection-based serialization has been disabled for this application. Either use the source generator APIs or explicitly configure the 'JsonSerializerOptions.TypeInfoResolver' property.
ModelContextProtocol.Tests.Protocol.ImplementationTests.Implementation_DeserializationWithMissingRequiredProperties_ThrowsJsonException(invalidJson: "{\"version\":\"1.0.0\"}"): /_/tests/ModelContextProtocol.Tests/Protocol/ImplementationTests.cs#L94
Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(System.Text.Json.JsonException) Actual: typeof(System.InvalidOperationException) ---- System.InvalidOperationException : Reflection-based serialization has been disabled for this application. Either use the source generator APIs or explicitly configure the 'JsonSerializerOptions.TypeInfoResolver' property.
ModelContextProtocol.Tests.Protocol.ToolTests.Tool_HasCorrectJsonPropertyNames: /_/tests/ModelContextProtocol.Tests/Protocol/ToolTests.cs#L73
System.InvalidOperationException : Reflection-based serialization has been disabled for this application. Either use the source generator APIs or explicitly configure the 'JsonSerializerOptions.TypeInfoResolver' property.
ModelContextProtocol.Tests.Protocol.ToolTests.Tool_SerializationRoundTrip_PreservesAllProperties: /_/tests/ModelContextProtocol.Tests/Protocol/ToolTests.cs#L8
System.InvalidOperationException : Reflection-based serialization has been disabled for this application. Either use the source generator APIs or explicitly configure the 'JsonSerializerOptions.TypeInfoResolver' property.
ModelContextProtocol.Tests.Protocol.ToolTests.Tool_SerializationRoundTrip_WithMinimalProperties: /_/tests/ModelContextProtocol.Tests/Protocol/ToolTests.cs#L49
System.InvalidOperationException : Reflection-based serialization has been disabled for this application. Either use the source generator APIs or explicitly configure the 'JsonSerializerOptions.TypeInfoResolver' property.
ModelContextProtocol.Tests.Protocol.ResourceTests.Resource_SerializationRoundTrip_PreservesAllProperties: /_/tests/ModelContextProtocol.Tests/Protocol/ResourceTests.cs#L8
System.InvalidOperationException : Reflection-based serialization has been disabled for this application. Either use the source generator APIs or explicitly configure the 'JsonSerializerOptions.TypeInfoResolver' property.
ModelContextProtocol.Tests.Protocol.ResourceTests.Resource_HasCorrectJsonPropertyNames: /_/tests/ModelContextProtocol.Tests/Protocol/ResourceTests.cs#L78
System.InvalidOperationException : Reflection-based serialization has been disabled for this application. Either use the source generator APIs or explicitly configure the 'JsonSerializerOptions.TypeInfoResolver' property.
ModelContextProtocol.Tests.Protocol.ResourceTests.Resource_SerializationRoundTrip_WithMinimalProperties: /_/tests/ModelContextProtocol.Tests/Protocol/ResourceTests.cs#L50
System.InvalidOperationException : Reflection-based serialization has been disabled for this application. Either use the source generator APIs or explicitly configure the 'JsonSerializerOptions.TypeInfoResolver' property.
ModelContextProtocol.Tests.Protocol.ImplementationTests.Implementation_DeserializationWithMissingRequiredProperties_ThrowsJsonException(invalidJson: "{\"name\":\"test-server\": /_/tests/ModelContextProtocol.Tests/Protocol/ImplementationTests.cs#L94
Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(System.Text.Json.JsonException) Actual: typeof(System.InvalidOperationException) ---- System.InvalidOperationException : Reflection-based serialization has been disabled for this application. Either use the source generator APIs or explicitly configure the 'JsonSerializerOptions.TypeInfoResolver' property.
ModelContextProtocol.Tests.Protocol.ImplementationTests.Implementation_DeserializationWithMissingRequiredProperties_ThrowsJsonException(invalidJson: "{\"version\":\"1.0.0\"}"): /_/tests/ModelContextProtocol.Tests/Protocol/ImplementationTests.cs#L94
Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(System.Text.Json.JsonException) Actual: typeof(System.InvalidOperationException) ---- System.InvalidOperationException : Reflection-based serialization has been disabled for this application. Either use the source generator APIs or explicitly configure the 'JsonSerializerOptions.TypeInfoResolver' property.
ModelContextProtocol.Tests.Protocol.ImplementationTests.Implementation_DeserializationWithMissingRequiredProperties_ThrowsJsonException(invalidJson: "{\"name\":\"test-server\"}"): /_/tests/ModelContextProtocol.Tests/Protocol/ImplementationTests.cs#L94
Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(System.Text.Json.JsonException) Actual: typeof(System.InvalidOperationException) ---- System.InvalidOperationException : Reflection-based serialization has been disabled for this application. Either use the source generator APIs or explicitly configure the 'JsonSerializerOptions.TypeInfoResolver' property.
ModelContextProtocol.Tests.Protocol.ImplementationTests.Implementation_DeserializationWithMissingRequiredProperties_ThrowsJsonException(invalidJson: "{}"): /_/tests/ModelContextProtocol.Tests/Protocol/ImplementationTests.cs#L94
Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(System.Text.Json.JsonException) Actual: typeof(System.InvalidOperationException) ---- System.InvalidOperationException : Reflection-based serialization has been disabled for this application. Either use the source generator APIs or explicitly configure the 'JsonSerializerOptions.TypeInfoResolver' property.
ModelContextProtocol.Tests.Protocol.ImplementationTests.Implementation_DeserializationWithMissingRequiredProperties_ThrowsJsonException(invalidJson: "{\"title\":\"Test Server\"}"): /_/tests/ModelContextProtocol.Tests/Protocol/ImplementationTests.cs#L94
Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(System.Text.Json.JsonException) Actual: typeof(System.InvalidOperationException) ---- System.InvalidOperationException : Reflection-based serialization has been disabled for this application. Either use the source generator APIs or explicitly configure the 'JsonSerializerOptions.TypeInfoResolver' property.
ModelContextProtocol.Tests.Protocol.PromptTests.Prompt_HasCorrectJsonPropertyNames: /_/tests/ModelContextProtocol.Tests/Protocol/PromptTests.cs#L74
System.InvalidOperationException : Reflection-based serialization has been disabled for this application. Either use the source generator APIs or explicitly configure the 'JsonSerializerOptions.TypeInfoResolver' property.
ModelContextProtocol.Tests.Protocol.PromptTests.Prompt_SerializationRoundTrip_WithMinimalProperties: /_/tests/ModelContextProtocol.Tests/Protocol/PromptTests.cs#L50
System.InvalidOperationException : Reflection-based serialization has been disabled for this application. Either use the source generator APIs or explicitly configure the 'JsonSerializerOptions.TypeInfoResolver' property.
ModelContextProtocol.Tests.Protocol.PromptTests.Prompt_SerializationRoundTrip_PreservesAllProperties: /_/tests/ModelContextProtocol.Tests/Protocol/PromptTests.cs#L8
System.InvalidOperationException : Reflection-based serialization has been disabled for this application. Either use the source generator APIs or explicitly configure the 'JsonSerializerOptions.TypeInfoResolver' property.
ModelContextProtocol.Tests.Protocol.ImplementationTests.Implementation_SerializationRoundTrip_WithoutOptionalProperties: /_/tests/ModelContextProtocol.Tests/Protocol/ImplementationTests.cs#L48
System.InvalidOperationException : Reflection-based serialization has been disabled for this application. Either use the source generator APIs or explicitly configure the 'JsonSerializerOptions.TypeInfoResolver' property.
ModelContextProtocol.Tests.Protocol.IconTests.Icon_DeserializationWithInvalidJson_ThrowsJsonException(invalidJson: "true"): /_/tests/ModelContextProtocol.Tests/Protocol/IconTests.cs#L81
Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(System.Text.Json.JsonException) Actual: typeof(System.InvalidOperationException) ---- System.InvalidOperationException : Reflection-based serialization has been disabled for this application. Either use the source generator APIs or explicitly configure the 'JsonSerializerOptions.TypeInfoResolver' property.
ModelContextProtocol.Tests.Protocol.IconTests.Icon_DeserializationWithInvalidJson_ThrowsJsonException(invalidJson: "[]"): /_/tests/ModelContextProtocol.Tests/Protocol/IconTests.cs#L81
Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(System.Text.Json.JsonException) Actual: typeof(System.InvalidOperationException) ---- System.InvalidOperationException : Reflection-based serialization has been disabled for this application. Either use the source generator APIs or explicitly configure the 'JsonSerializerOptions.TypeInfoResolver' property.
ModelContextProtocol.Tests.Protocol.IconTests.Icon_DeserializationWithInvalidJson_ThrowsJsonException(invalidJson: "null"): /_/tests/ModelContextProtocol.Tests/Protocol/IconTests.cs#L81
Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(System.Text.Json.JsonException) Actual: typeof(System.InvalidOperationException) ---- System.InvalidOperationException : Reflection-based serialization has been disabled for this application. Either use the source generator APIs or explicitly configure the 'JsonSerializerOptions.TypeInfoResolver' property.
ModelContextProtocol.Tests.Protocol.ToolTests.Tool_SerializationRoundTrip_WithMinimalProperties: /_/tests/ModelContextProtocol.Tests/Protocol/ToolTests.cs#L49
System.InvalidOperationException : Reflection-based serialization has been disabled for this application. Either use the source generator APIs or explicitly configure the 'JsonSerializerOptions.TypeInfoResolver' property.
ModelContextProtocol.Tests.Protocol.ToolTests.Tool_SerializationRoundTrip_PreservesAllProperties: /_/tests/ModelContextProtocol.Tests/Protocol/ToolTests.cs#L8
System.InvalidOperationException : Reflection-based serialization has been disabled for this application. Either use the source generator APIs or explicitly configure the 'JsonSerializerOptions.TypeInfoResolver' property.
ModelContextProtocol.Tests.Protocol.ToolTests.Tool_HasCorrectJsonPropertyNames: /_/tests/ModelContextProtocol.Tests/Protocol/ToolTests.cs#L73
System.InvalidOperationException : Reflection-based serialization has been disabled for this application. Either use the source generator APIs or explicitly configure the 'JsonSerializerOptions.TypeInfoResolver' property.
ModelContextProtocol.Tests.Protocol.ResourceTests.Resource_SerializationRoundTrip_WithMinimalProperties: /_/tests/ModelContextProtocol.Tests/Protocol/ResourceTests.cs#L50
System.InvalidOperationException : Reflection-based serialization has been disabled for this application. Either use the source generator APIs or explicitly configure the 'JsonSerializerOptions.TypeInfoResolver' property.
ModelContextProtocol.Tests.Protocol.ResourceTests.Resource_SerializationRoundTrip_PreservesAllProperties: /_/tests/ModelContextProtocol.Tests/Protocol/ResourceTests.cs#L8
System.InvalidOperationException : Reflection-based serialization has been disabled for this application. Either use the source generator APIs or explicitly configure the 'JsonSerializerOptions.TypeInfoResolver' property.
ModelContextProtocol.Tests.Protocol.ResourceTests.Resource_HasCorrectJsonPropertyNames: /_/tests/ModelContextProtocol.Tests/Protocol/ResourceTests.cs#L78
System.InvalidOperationException : Reflection-based serialization has been disabled for this application. Either use the source generator APIs or explicitly configure the 'JsonSerializerOptions.TypeInfoResolver' property.
ModelContextProtocol.Tests.Protocol.IconTests.Icon_DeserializationWithInvalidJson_ThrowsJsonException(invalidJson: "null"): /_/tests/ModelContextProtocol.Tests/Protocol/IconTests.cs#L81
Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(System.Text.Json.JsonException) Actual: typeof(System.InvalidOperationException) ---- System.InvalidOperationException : Reflection-based serialization has been disabled for this application. Either use the source generator APIs or explicitly configure the 'JsonSerializerOptions.TypeInfoResolver' property.
ModelContextProtocol.Tests.Protocol.IconTests.Icon_DeserializationWithInvalidJson_ThrowsJsonException(invalidJson: "[]"): /_/tests/ModelContextProtocol.Tests/Protocol/IconTests.cs#L81
Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(System.Text.Json.JsonException) Actual: typeof(System.InvalidOperationException) ---- System.InvalidOperationException : Reflection-based serialization has been disabled for this application. Either use the source generator APIs or explicitly configure the 'JsonSerializerOptions.TypeInfoResolver' property.
ModelContextProtocol.Tests.Protocol.IconTests.Icon_DeserializationWithInvalidJson_ThrowsJsonException(invalidJson: "42"): /_/tests/ModelContextProtocol.Tests/Protocol/IconTests.cs#L81
Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(System.Text.Json.JsonException) Actual: typeof(System.InvalidOperationException) ---- System.InvalidOperationException : Reflection-based serialization has been disabled for this application. Either use the source generator APIs or explicitly configure the 'JsonSerializerOptions.TypeInfoResolver' property.
ModelContextProtocol.Tests.Protocol.IconTests.Icon_DeserializationWithInvalidJson_ThrowsJsonException(invalidJson: "false"): /_/tests/ModelContextProtocol.Tests/Protocol/IconTests.cs#L81
Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(System.Text.Json.JsonException) Actual: typeof(System.InvalidOperationException) ---- System.InvalidOperationException : Reflection-based serialization has been disabled for this application. Either use the source generator APIs or explicitly configure the 'JsonSerializerOptions.TypeInfoResolver' property.
ModelContextProtocol.Tests.Protocol.IconTests.Icon_HasCorrectJsonPropertyNames: /_/tests/ModelContextProtocol.Tests/Protocol/IconTests.cs#L54
System.InvalidOperationException : Reflection-based serialization has been disabled for thi
ModelContextProtocol.Tests.Protocol.IconTests.Icon_DeserializationWithMissingSrc_ThrowsJsonException(invalidJson: "{\"mimeType\":\"image/png\"}"): /_/tests/ModelContextProtocol.Tests/Protocol/IconTests.cs#L71
Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(System.Text.Json.JsonException) Actual: typeof(System.InvalidOperationException) ---- System.InvalidOperationException : Reflection-based serialization has been disabled for this application. Either use the source generator APIs or explicitly configure the 'JsonSerializerOptions.TypeInfoResolver' property.
ModelContextProtocol.Tests.Protocol.IconTests.Icon_DeserializationWithMissingSrc_ThrowsJsonException(invalidJson: "{\"sizes\":\"48x48\"}"): /_/tests/ModelContextProtocol.Tests/Protocol/IconTests.cs#L71
Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(System.Text.Json.JsonException) Actual: typeof(System.InvalidOperationException) ---- System.InvalidOperationException : Reflection-based serialization has been disabled for this application. Either use the source generator APIs or explicitly configure the 'JsonSerializerOptions.TypeInfoResolver' property.
ModelContextProtocol.Tests.Protocol.IconTests.Icon_DeserializationWithMissingSrc_ThrowsJsonException(invalidJson: "{\"mimeType\":\"image/png\": /_/tests/ModelContextProtocol.Tests/Protocol/IconTests.cs#L71
Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(System.Text.Json.JsonException) Actual: typeof(System.InvalidOperationException) ---- System.InvalidOperationException : Reflection-based serialization has been di Passed sabled for this application. Either use the source generator APIs or explicitly configure the 'JsonSerializerOptions.TypeInfoResolver' property.
ModelContextProtocol.Tests.Protocol.IconTests.Icon_DeserializationWithMissingSrc_ThrowsJsonException(invalidJson: "{}"): /_/tests/ModelContextProtocol.Tests/Protocol/IconTests.cs#L71
Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(System.Text.Json.JsonException) Actual: typeof(System.InvalidOperationException) ---- System.InvalidOperationException : Reflection-based serialization has been disabled for this application. Either use the source generator APIs or explicitly configure the 'JsonSerializerOptions.TypeInfoResolver' property.
build (windows-latest, Debug)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
build (windows-latest, Release)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677

Artifacts

Produced during runtime
Name Size Digest
testresults-macos-latest-Debug Expired
1.92 MB
sha256:83728eee657df6b8c7d0257689846089e4fcd0840fe6f01fe3b2ccb30fd2206b
testresults-macos-latest-Release Expired
1.72 MB
sha256:1088263087404027b77abb49105e8173771f0899e443280fadf287f16410cb65
testresults-ubuntu-latest-Debug Expired
1.89 MB
sha256:d6d8cfaefa13ae55350bf7801c93f3442cc6679bf7bcabce2d69a81e1ea7edc7
testresults-ubuntu-latest-Release Expired
1.71 MB
sha256:51d4f9e56c477794cb3f117d5a5ec9e4c49431668927e011f4188fe588ac9f01
testresults-windows-latest-Debug Expired
1.91 MB
sha256:590cb83431ed35c6c264d0c4143c3fe1a3a33c53c67764f7e740dfc417104249
testresults-windows-latest-Release Expired
1.72 MB
sha256:91fb63d9c08ce513520dffbe88a5269fec02f167198e8850c6e1d6f24acf1401