I am working on asp.net mvc project (Programming language: C#) in Visual studio 2019(version: 16.2.2). While creating Controller or view, I am getting this error.
Error says "There was an error running the selected code generator: the value -1 is outside the acceptable range of [0, 2147483647]. Parameter name value". I have already tried to find the solution but so far I am not able to fix it. Any help is appreciated. Thanks.