locked
Error creating controller MVC 5 (with or without model) RRS feed

  • Question

  • User1224275493 posted

    Using Visual Studio 2019 Community and MVC 5 and getting this error.

    There was an error running the selected code generator:
    'The value -1 is outside the acceptable range of [0,2147483647],
    Parameter name:value

    Any ideas ?

    Thanks

    Luke

    Friday, August 16, 2019 11:27 AM

All replies

  • User1520731567 posted

    Hi Duelbat,

    What’s your VS 2019 version? Please go to Help-About Microsoft Visual Studio to check and share it.<o:p></o:p>

    According to your description, I found some other community members also reported this similar issue to the VS Product Team, please have a try with the following to work around this issue:

    1. Close this solution and go to the project store folder and delete the hidden .vs folder, packages/bin/obj folders to, reopen this solution to test
    2. Close VS 2019 and go to %localappdata%\Microsoft\VisualStudio\16.0_xxxxx and clean up this folder, restart VS 2019

    If this issue persists, please add your comment to the above similar and the VS product team engineers are actively investigating the issue.

    Will provide an update in there once they have a solution for this issue.

    Best Regards.

    Yuki Tao

    Monday, August 19, 2019 2:21 AM