VS 2017 Metadata file '.dll could not be found

后端 未结 28 1312
日久生厌
日久生厌 2021-01-31 07:06

I know there is another question with exact the same problem, but I went trough all those answers, and none helped me. :( (This was the question.)

I just created a new A

28条回答
  •  面向向阳花
    2021-01-31 07:31

    I had the same issue. My problem was someone else on the team moved a class folder, and the project was looking for it.

    For me, there were 44 errors; 43 ended in .dll (searching for a dependency) and the first one in the error list ended with .cs (searching for the actual class). I tried clean-build, and clean, unload, reload, build, but nothing working. I ended up locating the class in the project, and just deleted it, as it was showing up as unavailable anyways, followed by a clean-build.

    That did the trick for me! Hope this helps.

提交回复
热议问题