From 1a0c12191d8c9c86dd4bc9befbc134b87c790394 Mon Sep 17 00:00:00 2001 From: Wojtek Figat Date: Wed, 30 Dec 2020 00:05:05 +0100 Subject: [PATCH] Add `IgnoreMissingDocumentationWarnings` option into generated csproj files --- .../Flax.Build/Projects/VisualStudio/CSProjectGenerator.cs | 2 ++ 1 file changed, 2 insertions(+) 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(" ");