Closed ehsangfl closed 6 months ago
just curious, does it work if you have a separate "net7.0" library project for the code generation (just as you have to do with WPF )
I create a clean client like your sample but client proxy did not generate. the issue is
The code generator 'OpenRiaServices.Tools.CSharpCodeDomClientCodeGenerator' encountered a fatal exception and could not generate code for the project '*\Model.Client.csproj':
Object reference not set to an instance of an object
Also, it warns me a lot about custom attributes...
Can you provide a small sample application to show the problem.
Note that the 5.4.0 codegen had issues with some attributes including regex (fixed in 5.4.1) when .net 7 or newer is installed.
As for the custom attributes can it be #298 ? i think i wrote some thoughts about how it can be fixed without supressing obsolete warnings.
Server side : dotnet 7 , ef core 7 Client : dotnet 7, webassembly when I use the code generation, I faced with this error