diff --git a/visualdev/Tnb.Vengine/CodeGenerator/TemplateContext.cs b/visualdev/Tnb.Vengine/CodeGenerator/TemplateContext.cs index a62b4cd9..61468d79 100644 --- a/visualdev/Tnb.Vengine/CodeGenerator/TemplateContext.cs +++ b/visualdev/Tnb.Vengine/CodeGenerator/TemplateContext.cs @@ -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; }