diff --git a/src/NSubstitute/NSubstitute.csproj b/src/NSubstitute/NSubstitute.csproj
index cfc405fe..2febf0e7 100644
--- a/src/NSubstitute/NSubstitute.csproj
+++ b/src/NSubstitute/NSubstitute.csproj
@@ -55,7 +55,7 @@
$(DefineConstants);SYSTEM_DIAGNOSTICS_CODEANALYSIS_NULLABILITY
-
+
true
true