From 886a365aa0fbe6fa4108c6ac7326d44a07fd7a09 Mon Sep 17 00:00:00 2001 From: "fei.pan" Date: Tue, 7 Nov 2023 11:01:28 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9A=82=E6=97=B6=E5=B1=8F=E8=94=BDCS8601-8604?= =?UTF-8?q?=E7=9A=84=E5=8F=AF=E7=A9=BA=E6=8A=A5=E8=AD=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Directory.Build.props | 2 +- visualdev/Tnb.Vengine/CodeGenerator/TemplateContext.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Directory.Build.props b/Directory.Build.props index d59ff165..a363d7b9 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -2,7 +2,7 @@ $(MSBuildThisFileDirectory) latest - $(NoWarn);CS1591; + $(NoWarn);CS1570;CS1587;CS1591;CS8601;CS8602;CS8603;CS8618; diff --git a/visualdev/Tnb.Vengine/CodeGenerator/TemplateContext.cs b/visualdev/Tnb.Vengine/CodeGenerator/TemplateContext.cs index b3fc49b9..2f9cd19b 100644 --- a/visualdev/Tnb.Vengine/CodeGenerator/TemplateContext.cs +++ b/visualdev/Tnb.Vengine/CodeGenerator/TemplateContext.cs @@ -28,7 +28,7 @@ public class TemplateContext #if DEBUG BasePath = CodeHelper.GetSolutionDirectoryPath(false)!; #else - BasePath = FileVariable.GenerateCodePath; + BasePath = JNPF.Common.Configuration.FileVariable.GenerateCodePath; #endif ModuleCode = moduleCode; }