I understand that in the C#10 new features that I'm able to create Generic Attributes, however despite setting the target framework to .NET 6.0 the compiler is still throwing the CS0698 error.
I'm currently using Visual Studio 2019 but as far as I know having the SDK installed should allow me to utilize this feature, additionally I have preview features enabled but still no luck
I saw a user mention this in a comment, but I still can't get it to work https://stackoverflow.com/a/69949881/17399588
How can I get this to work?
EDIT: Have tried Flydog57's answer but am still getting the same issues