Skip to content

[CI] Aspire.Cli tests don't build on rolling builds #10029

@radical

Description

@radical

https://github.com/dotnet/aspire/actions/runs/15864137100/job/44727682173

/home/runner/work/aspire/aspire/src/Aspire.Cli/Backchannel/ExtensionBackchannel.cs(187,27): error IL3050: Using member 'StreamJsonRpc.JsonRpc.Attach(Stream, Object)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. This code uses a formatter/serializer that hasn't been hardened to avoid dynamic code.

/home/runner/work/aspire/aspire/src/Aspire.Cli/Backchannel/ExtensionBackchannel.cs(187,27): error IL2026: Using member 'StreamJsonRpc.JsonRpc.Attach(Stream, Object)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. This code uses a formatter/serializer that hasn't been hardened to avoid dynamic code.

cc @adamint @eerhardt

Report

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 0

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions