"there was an error running the selected code generator package restore failed". Rolling back package changes for myproject."
At first I can use scaffolding and works fine. However, yesterday I tried and can't work at all, it's not only on single projects, it's for all projects. I remember there are lot of visual studio updates, I wondered maybe that's the issue. I tried lot of suggestion I can find in internet and nothing works. I think it's not project specific because all my projects can't scaffold. I use postgresql and .NET Core 3.1 . Attached is screenshot of my project dependencies. My specification : visual studio Version 16.7.4 dotnet 3.1.402