Asp.net core 2.2 ModelBinder Unit Test Issues

北慕城南 提交于 2019-12-02 04:34:37

One of my colleagues encountered the same problem. After a lot of debugging and investigation, we found this fixed the problem for him.

  1. Right-click on the solution in Visual Studio and do a ‘Clean Solution’.
  2. Manually delete the contents of the obj and bin folders of the projects.
  3. Delete the contents of the .vs folder in the solution root. (if the files are locked, close Visual Studio.)

The last step seems to be the important part.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!