locked
ERROR WHILE CREATING MVC CONTROLLER WITH VIEWS USING ENTITY FRAMWORK RRS feed

  • Question

  • ERROR WHILE CREATING MVC CONTROLLER WITH VIEWS USING ENTITY FRAMEWORK: error is 

    There was an error running the selected code generator: 'package restore failed. Rolling back package changes for..

    How solve this error?

    Wednesday, December 2, 2020 6:37 PM

All replies

  • Have you found a fix?
    Monday, December 14, 2020 8:12 AM
  • I have the same problem after update to MS Visual Studio v 16.8.3
    Tuesday, December 15, 2020 3:15 PM
  • I have found the fix to the problem here. You have to make sure your packages are updated to the latest for the targetframework you're using, under .csproj file. In my case I just deleted the packages and ran a scaffold cmd and it auto downloaded/updated for me.
    • Edited by Airw_wen Monday, December 28, 2020 4:05 AM
    Monday, December 28, 2020 4:01 AM