I have this error when trying to add a new controller to my MVC app:
Visual Studio 2019 4.7.2 .NET Framework
Error:
There was an error running the selected code generator: 'The value -1 is outside the acceptable range of [0,2147483647]. Parameter name: value'
I tried to restart Visual Studio but it didn't work. Any help would be very much appreciated.