- ABP Framework version: v4.1.0
- UI type: MVC
- DB provider: EF Core
- Tiered (MVC) or Identity Server Seperated (Angular): no
- Exception message and stack trace:
- Steps to reproduce the issue: Followed exact steps :** https://docs.abp.io/en/commercial/latest/abp-suite/generating-crud-page#navigation-properties** Build the solution successfully. Click "Save and Generate", getting below exception.
In solution, it's adding below xxxxxx characters in CreateModal.cshtml.cs & EditModal.cshtml.cs by it's own. If I remove it and build it then it builds successfully. Then if I again click "Save and Generate", getting same above exception even after tried lot of times.
Thanks - Prasad.Gore
6 Answer(s)
-
0
this is fixed in the next version. workaround: you can delete xxxx in your template or in the generated code.
-
0
Thanks alper But the workaround is not working because even if I remove xxxxx and build it then it builds successfully. Then if I again click "Save and Generate", it's again adding xxxxxx characters in CreateModal.cshtml.cs & EditModal.cshtml.cs by it's own, so getting same below exception again & again. Need to wait for next version ?
-
0
can you check that you have successfully saved the template? be aware you don't do that in the generated code it's in the code generation template
edit this template
Frontend.Mvc.Page.Partials.editcshtml_cs_LookupDropdownOnGet.txt
-
0
Couldn't find any file like Frontend.Mvc.Page.Partials.editcshtmlcsLookupDropdownOnGet.txt anywhere in the solution. Issue still persists.
-
0
@prasad.gore sorry for my late response. I might have missed your notification. is it possible for you to switch to the latest preview
dotnet tool update -g Volo.Abp.Cli --version 4.2.0-rc.1 abp suite update --preview
-
0
Thanks alper, will try this.