You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looking at the GenerateModels method in ModelsBuilderBackOfficeController, any *.generated.cs files are deleted before an attempt is made to generate models.
If the models generation then subsequently fails, the solution refuses to build as no models exist.
Would it be possible to delay deletion of existing models, until new models have been successfully generated?
The text was updated successfully, but these errors were encountered:
This sounds like a reasonable request, although I think it will result in people not realising an error occurred and use the out of date models...
This could be resolved by generating a warning (e.g. add an Obsolete("This generated model is out of date") attribute for every type or a single #warning).
Looking at the GenerateModels method in ModelsBuilderBackOfficeController, any *.generated.cs files are deleted before an attempt is made to generate models.
If the models generation then subsequently fails, the solution refuses to build as no models exist.
Would it be possible to delay deletion of existing models, until new models have been successfully generated?
The text was updated successfully, but these errors were encountered: