Bulky
Bulky copied to clipboard
Section 8 - Lecture 1
Hi teacher, At section 8 lecture 1, I can not add the Scaffold, when I'm trying to add it shows errors that: "There was an error running the selected code generator: 'Package restore failed. Rolling back package changes for 'ProjectName''". Although I have installed the package as similar as the video lecture.
Did you find a solution to this problem?
Yes I have solved it, Thank you
Same error while scaffolding MissingMethodException: Method not found: 'Void CoreTypeMappingParameters..ctor(System.Type, Microsoft.EntityFrameworkCore.Storage.ValueConversion.ValueConverter, Microsoft.EntityFrameworkCore.ChangeTracking.ValueComparer, Microsoft.EntityFrameworkCore.ChangeTracking.ValueComparer, System.Func`3<Microsoft.EntityFrameworkCore.Metadata.IProperty,Microsoft.EntityFrameworkCore.Metadata.IEntityType,Microsoft.EntityFrameworkCore.ValueGeneration.ValueGenerator>)'.
please Help
Hi teacher, At section 8 lecture 1, I can not add the Scaffold, when I'm trying to add it shows errors that: "There was an error running the selected code generator: 'Package restore failed. Rolling back package changes for 'ProjectName''". Although I have installed the package as similar as the video lecture.
well what was th e solution other's would like to know
Yes I have solved it, Thank you
Since you figured it out already put the solution here and close this issue. You learn something on your own, and it will be a better lesson than just rewriting.
I had the same problem. First I updated the libraries to the 6.0.9 version but still I got an issue when trying to scaffold identity. the problem is tracked here https://github.com/dotnet/Scaffolding/issues/2019
and you can proceed with a workaround as Bhrugen suggest in lecture 127
hope this help.
thanks.
Hi guys, I resolve this problem with unistall all nuGet package, clear nuGet cache, and re-install all nuGet package (in my specific case, for this project I use NET 6.0 (long term) and the first time that I install nuGet package, I install with 6.011 version and, in the second time, I install all 6.013 version and all identity scaffolding works.