Just as some more feedback. I don't currently find the "custom code" feature useful. I'd much rather have simpler/cleaner code in the first place.
Thanks,
Jonathan
I would be curious to know the reasoning behind the function call approach (vs filter object). I would think the templates should be designed to more EASILY allow direct editing rather than more obfuscation and forcing us to always depend on ABP Suite.
Could you make a community sharing area for templates for ABP Suite? Perhaps as part of the "app store" model being worked on?
I would like a template that does NOT depend on functions on the backend but uses a "filter" object on the back end corresponding to the query DTO currently created on the front end. Then use AutoMapper to map between. I would think that would make a good default/replacement to the current method. Numerous function calls are HARD to maintain!!
I'd make the change myself but it would get out of date too soon and there is no way to share with others so they can help maintain this alternative approach.
Thanks,
Jonathan
Happened again. I very clearly changed a .cs file (DBContext definition), hit stop debug and then hit start debug. and it acted like I’d never made the change!
Hit stop again and start again, same issue.
Stop and start again, and finally it used the new dbcontext configuration.
THREE times before it worked!! :'(
Why am I seeing this?
Happened again on the other large project although it almost seemed that it just ignored all of the changes that were successfully made and shown via “hot reload” in the last debug session. Debugging again showed none of those changes at all. Stopping and starting resolves the issue (but the project is fairly big so takes awhile to build).
I did the following steps:
and the problem STILL persists! I made a small change and ran it and no break points were reachable. Had to run debugger twice to get break points (and probably most recent code).
After trying again it ran the correct code but now won't hot reload a simple change.
I am increasingly having the issue where when I make changes to my ABP Blazor Server project (recently upgraded to 9.x) and press "Start Debug" in Visual Studio it almost always runs an old version of the code and does not catch break points. This is now happening on both of my ABP projects (now that they've been upgraded?). Only after debugging sometimes several times does it catch the new code.
Anyone else having this issue? It's VERY annoying.
I'm not sure how to make a "demonstration" of the issue without a large complex project.
Thanks,
Jonathan
Adding typeof(VoloAbpCommercialSuiteTemplatesModule) to C:\Users\brauerj\Source\repos\MyProject\modules\MyProject.SubMod\src\MyProject.SubMod.Domain\SubModDomainModule.cs Seemed to solve the problem. But I shouldn't have to do that for each sub module should I?
Thanks,
Jonathan
I'm getting this same issue again! I'm running ABP Suite on a sub module that has been upgraded to 9.1.3 from 6 or 7 originally. This seemed to have resolved itself previously by upgrading/reinstalling ABP Studio? But now it's back to the same issue!
Error in ABP Suite 9.1.3: Cannot find "Volo.Abp.Commercial.SuiteTemplates.dll". ABP Suite cannot find it in any sub folders of C:\Users\brauerj\Source\repos\MyProject\modules\MyProject.SubMod
C:\Users\brauerj\Source\repos\MyProject\src\MyProject.Main.Domain\MainDomainModule.cs has the correct typeof(VoloAbpCommercialSuiteTemplatesModule) dependency but this is in the root project. It seems ABP Suite is unable to "find" this root project?
Why do I keep having this issue?
Note I ran this out of ABP Studio by right clicking on my submodule.
Jonathan
Ok, no problem. Glad to hear it isn't a permanent plan!