PolySharp icon indicating copy to clipboard operation
PolySharp copied to clipboard

How to troubleshout issues with not resolved PolySharp types

Open Corniel opened this issue 9 months ago • 0 comments

I've got a project that has PolySharp v1.15.0 included (for a while) and it seemed working fine. I use [StringSyntax] which is using the PolySharp version for my .NET standard 2.0 target.

So far, it's all great. Now I'm trying to make my library AOT compatible which requires some attributes inlcuding [DynamicallyAccessedMembers] which should be available since 2022 (#3). However, my compiler says it can not find it for .NET standard 2.0. I assume, that I'm doing something wrong.

What can I do to find out why this type is not generated for my by PolySharp, or why it is generated but not found by the compiler?

Corniel avatar Mar 12 '25 09:03 Corniel