修复-发布时代码生成路径的错误
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using System.Text.RegularExpressions;
|
||||
using JNPF.Common.Configuration;
|
||||
using Tnb.Core;
|
||||
|
||||
namespace Tnb.Vengine;
|
||||
@@ -26,7 +27,7 @@ public class TemplateContext
|
||||
#if DEBUG
|
||||
BasePath = CodeHelper.GetSolutionDirectoryPath(false)!;
|
||||
#else
|
||||
BasePath = EApp.Options.App.AcmenBasePath;
|
||||
BasePath = FileVariable.GenerateCodePath;
|
||||
#endif
|
||||
ModuleCode = moduleCode;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user