Add new scaffolded item error (Bug)
See original GitHub issueScaffolding items for:
- API Controller with actions, using Entity Framework
(Error : Method not found: System.Type.Microsoft.EntityFrameworkCore.Metadata.Iproperty.getClrType()'.')
- MVC Controller with views, using Entity Framework
(Error : Method not found: Boolean Microsoft.EntityFrameworkCore.Metadata.Iproperty.getlsShadowProperty'.')
Steps to reproduce:
- Add new project
- Add context and etc…
- Add migration data by PMC command “Add-Migration ProjectInitialCreate”
- Update database by PMC command “Update-Database”
- Add new scaffolded items (ERROR)
Target framework(s):
ASP.NET Core SDK v 3.0.0-preview4.19212.13
Package version
<PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="2.2.3" />
Issue Analytics
- State:
- Created 4 years ago
- Reactions:5
- Comments:10 (3 by maintainers)
Top Results From Across the Web
Error when trying to add a scaffolded item in Razor Pages
I have been trying to add a scaffold item in ASP.NET Core, razor pages using Entity Frameword (CRUD). My current target framework is...
Read more >Error while generating New Scaffolding item ( Add Razor ...
Error while generating New Scaffolding item ( Add Razor Pages using using Entity Frame work-CRUD)Closed - Not a Bug View resolution
Read more >Add Scaffolded Item Erorr with startindex cannot be larger ...
I try to follow the Microsoft Document WebApp MVC and stuck at part 4 Add a model. It shows Error with StartIndex cannot...
Read more >Fix Update: Scaffolding failed, could not load information for ...
In this video, I going to fix this error, Scaffolding failed in visual studio dring adding razor view, area etc. so you can...
Read more >ASP.net MVC 6 Cannot use New Scaffloded item
In Solution Explorer, right-click the Controllers folder and select Add > New Scaffolded Item. In the Add Scaffold dialog, select MVC Controller ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I have the same problem
using the last version try to add scaffold item using netcore 3.1
… was trying to work through example at https://docs.microsoft.com/en-us/aspnet/core/security/authorization/secure-data?view=aspnetcore-5.0#create-the-starter-app