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