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

后端 未结 13 1494
小鲜肉
小鲜肉 2020-12-03 10:45

I am working on an ASP.NET MVC project and so far I had no problems with scaffolding any type of items until now.

Every time I want to create a new controller or vie

相关标签:
13条回答
  • 2020-12-03 11:35

    Close all documents, and try again to create new controller. It works for me in Visual Studio 2019 asp.net MVC but I don't know why

    0 讨论(0)
  • 2020-12-03 11:35

    i fix it, deleting the .vs folder, re opening the project, and clenning the solution

    0 讨论(0)
  • 2020-12-03 11:37

    I was able to fix this by manually deleting the BIN and OBJ folders for my projects. Running Clean in Visual Studio did not work.

    0 讨论(0)
  • 2020-12-03 11:44

    just use vs15. In many regards vs19 is still beta...

    0 讨论(0)
  • 2020-12-03 11:45

    This issue has been resolved in Visual Studio 2019 version 16.2.4. The release notes are available here:

    https://docs.microsoft.com/en-us/visualstudio/releases/2019/release-notes#16.2.4

    0 讨论(0)
  • 2020-12-03 11:46

    I fixed this by unloading and reloading the project

    0 讨论(0)
提交回复
热议问题