ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,857 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi,
When im doing scaffolding im getting error like this.
after i click OK button, it will go to Scaffolding Page again where i can add the CRUD pages.But the added pages will have Error.
Any help would be appreciated.
Hi ,
Thanks for the reply, But it was working fine for my other scaffolded item. I havent installed any packages. Could you please explain why it happens so?
‘But it was working fine for my other scaffolded item’ this item is in the same project?
Hi Jerry Cai,
Good to see you again for assistance.
Yes it is for same project which was build in Asp.net core 3.1 and upgraded to asp.net core 5
After this upgradation only im getting these errors.
Thanks,
Teena John
Hi,Teena
Thank you for you still remembering me, try to make sure the packages version are right, if you can't use 6.0 version, try back to 5.0.* version. Do you have more error code?
Best Regards,
Jerry Cai
Hi Jerry Cai,
Thanks for the explanation, here is the scenario.
II started my project with asp.net core 3.1, all those packages were installed automatically when i scaffolded the item and was able to do the migrations also.
After upgrading visual studio version and target framework of my project to .net core 5,im getting this issue.
And one more doubt is there any significant difference for core 3.1 and .net 5?
@AgaveJoe , @Jerry Cai-MSFT Even i installed Microsoft.EntityFrameworkCore.Design packages via nuget package manager console im getting below showing error
What is admin.Noticeboard? You cannot make the file name and the model name the same name
Hi @Jerry Cai-MSFT ,
I have created NoticeBoard folder inside Admin folder.The page names are automatically generated while scaffolding.
Same way i created Users pages which doesnt give any issues and one more thing i tried to create a sample project with .net core 3.1 ,but the im facing the same issue .(Before upgrading visual studio 16.10.3 i havent faced such issues.) not able to scaffold item and do the migrations.
Thanks,
Teena John
Sign in to comment
Activity