Closed jnm2 closed 5 years ago
Either you have a reference to a project that provides the attributes, or you define the attributes in source with your project, or one of your projects has InternalsVisibleTo access to another project. You should set GenerateNullableAttributes
to false in your project file for all projects that have access to the attributes from another imported project or reference.
Aha, InternalsVisibleTo didn't occur to me. That was it, thanks!
The error list has one warning per usage of one of the nullability attributes in my own code:
This is after
git clean -fxd
with VS closed and then building the solution once or a few times.This is an SDK-style project that does not define any attributes except by referencing this package.