@@ -158,6 +158,7 @@ private string CreateAllAspxFiles()
158158 CaseCodeTemplateValueForFullPath += combination . CaseCodeTemplateValueForFullPath ;
159159 CaseCodeTemplateValueForFullPathWithModel += combination . CaseCodeTemplateValueForFullPathWithModel ;
160160 MethodCodeTemplateValue += combination . MethodCodeTemplateValue ;
161+ ErrorList = ErrorList . AddList ( combination . ErrorList ) ;
161162 }
162163 } ) ;
163164
@@ -183,6 +184,7 @@ private string CreateAllAspxFiles()
183184 CaseCodeTemplateValueForFullPath += combination . CaseCodeTemplateValueForFullPath ;
184185 CaseCodeTemplateValueForFullPathWithModel += combination . CaseCodeTemplateValueForFullPathWithModel ;
185186 MethodCodeTemplateValue += combination . MethodCodeTemplateValue ;
187+ ErrorList = ErrorList . AddList ( combination . ErrorList ) ;
186188 }
187189 } ) ;
188190
@@ -262,6 +264,13 @@ private string CreateAllAspxFiles()
262264 CodeBehindViews += " this.WebFormsValue += WebFormsValue;" + Environment . NewLine + Environment . NewLine ;
263265 CodeBehindViews += " if (string.IsNullOrEmpty(ViewPath))" + Environment . NewLine ;
264266 CodeBehindViews += " return \" \" ;" + Environment . NewLine + Environment . NewLine ;
267+
268+ CodeBehindViews += " if (ViewPath[0] == '>')" + Environment . NewLine ;
269+ CodeBehindViews += " {" + Environment . NewLine ;
270+ CodeBehindViews += " string TmpViewPath = ViewPath;" + Environment . NewLine ;
271+ CodeBehindViews += " return SetPageLoadByPath(TmpViewPath.Remove(0, 1), context);" + Environment . NewLine ;
272+ CodeBehindViews += " }" + Environment . NewLine + Environment . NewLine ;
273+
265274 CodeBehindViews += " if (ModelClass != null)" + Environment . NewLine ;
266275 CodeBehindViews += " return LoadPage(ViewPath, ModelClass, context);" + Environment . NewLine ;
267276 CodeBehindViews += " else" + Environment . NewLine ;
0 commit comments