Hi,
When I use swagger to infer my model the enums used are not generated in the radzen application.
They are in the model and the names of them appear in the new data source view, but have no values.
I would attach the JSON from swagger but not allowed!
The exceptions thrown are at bottom of this message.
It is possible to open the solution and enter them myself, it then compiles and runs.
Thanks
Dave
radzen: Generating code ...
radzen: Code generation done in 463ms.
dotnet: watch :
dotnet: Started
dotnet: Models\Aanonsapi\Member.cs(39,16): error CS0246: The type or namespace name 'Gender' could not be found (are you missing a using directive or an assembly reference?) [D:\dev\gui\aanons2\server\Aanons2.csproj]
Models\Aanonsapi\Shift.cs(32,16): error CS0246: The type or namespace name 'Location' could not be found (are you missing a using directive or an assembly reference?) [D:\dev\gui\aanons2\server\Aanons2.csproj]
Models\Aanonsapi\Shift.cs(39,16): error CS0246: The type or namespace name 'Recurrence' could not be found (are you missing a using directive or an assembly reference?) [D:\dev\gui\aanons2\server\Aanons2.csproj]
dotnet:
dotnet: The build failed. Fix the build errors and run again.
dotnet: watch : Exited with error code 1
dotnet: watch : Waiting for a file to change before restarting dotnet...