<PackageReference Include="NUnit" Version="3.10.0" />

NonTestAssemblyAttribute

The NonTestAssemblyAttribute may be used by third-party frameworks or other software that references the NUnit framework but does not contain tests. Applying the attribute indicates that the assembly is not a test assembly and may prevent errors if certain runners attempt to load the assembly. Note that recognition of the attribute depends on each individual runner.