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
Invoke the "API with read/write endpoints, Entity Framework" scaffolder via the "Add Scaffolded Item" project context menu
Select the Todo type as the model class
Select to create a new endpoints class with the default name
Select to create a new data context class with the default name
Leave other options at their default values
The following error dialog is displayed:
---------------------------
Microsoft Visual Studio
---------------------------
Error
There was an error running the selected code generator:
'There was an error creating a DbContext :C:\Users\damia\source\repos\WebApplication109\WebApplication109\Program.cs(31,21): error CS1519: Invalid token 'string' in class, record, struct, or interface member declaration'
---------------------------
OK
---------------------------
The text was updated successfully, but these errors were encountered:
Found using latest Visual Studio INT PREVIEW or PREVIEW build.
Program.cs
(note therequired
keyword on theTitle
property):Todo
type as the model classThe text was updated successfully, but these errors were encountered: