Couldn't find output file for server typings generation #7216
-
I have upgraded my .NET application from version 3.1 to 8.0, but I haven't updated the Serenity version. After upgrading the .NET application, I am encountering the following error when I attempt to run it. If I run "dotnet sergen servertyping" with the sergen version "3.12.6", I get "Couldn't find output file for server typings generation at ~/bin/Debug/net8.0/MyApplication.Web.exe! If I run "dotnet sergen servertyping" with the sergen version "8.4.8", I get "Object reference not set to an instance of an object" Note : Tried "dotnet clean" and "dotnet build". It seems like I might be missing something. I would appreciate any assistance on this matter. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Adding the below line of code in the sergen.json solved the issue. "ServerTypings": { |
Beta Was this translation helpful? Give feedback.
Adding the below line of code in the sergen.json solved the issue.
"ServerTypings": {
"Assemblies": ["bin/Debug/net8.0/DPWBooking.Web.dll"], --Previously this was empty.
"LocalTexts": true
},