Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Wednesday, May 29, 2019 8:58 AM
Hi My friend
When I was creating a 'Mvc Controller with Views , using Entity framework' I caught an Error: There was an error running the selected code generator:'package restore failed.Rolling back package changes for ...
How can I solve this Error???
All replies (2)
Thursday, May 30, 2019 6:47 AM | 1 vote
Hi MMGhoreishi,
Welcome to the MSDN forum.
What’s your VS version and the project type? If you create a new project and add this controller type, does this issue persists or not.
For the error message, if often relates to the inappropriate target framework of the projects or go to Tools -> Options -> Nuget Package Manager ->Package Manager Setting-> General -> Clear All Nuget Cache(s). If your solution has multiple, please check their target framework and make sure are the same version, clean and rebuilt the solution, then add new controller.
Best regards,
Sara
MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact [email protected]
Monday, July 13, 2020 1:51 PM
Hello Friend,
i Created a folder in my Razor page and inside the folder i am trying to create an index file inside the folder but its giving me