diff --git a/Source/Tools/Flax.Build/Projects/VisualStudio/CSProjectGenerator.cs b/Source/Tools/Flax.Build/Projects/VisualStudio/CSProjectGenerator.cs
index ae2c038c0..8e539a414 100644
--- a/Source/Tools/Flax.Build/Projects/VisualStudio/CSProjectGenerator.cs
+++ b/Source/Tools/Flax.Build/Projects/VisualStudio/CSProjectGenerator.cs
@@ -99,6 +99,8 @@ namespace Flax.Build.Projects.VisualStudio
csProjectFileContent.AppendLine(" prompt");
csProjectFileContent.AppendLine(" 4");
csProjectFileContent.AppendLine(" true");
+ if (configuration.TargetBuildOptions.ScriptingAPI.IgnoreMissingDocumentationWarnings)
+ csProjectFileContent.AppendLine(" 1591");
csProjectFileContent.AppendLine(string.Format(" {0}\\{1}.CSharp.xml", outputPath, project.Name));
csProjectFileContent.AppendLine(" true");
csProjectFileContent.AppendLine(" ");