VS 2017 Metadata file '.dll could not be found

后端 未结 28 1565
日久生厌
日久生厌 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:36

    For me cleaning and building didn't work. Unloading the project didn't work. Restarting Visual Studio or even the pc didn't work. This is what did work:

    Go to each of the projects that are throwing the error, and in References, delete the reference to the problematic project and add it again. That solves the issue.

    The problem seems to be related to moving a project around (Move it inside a folder for example), then a different project that references it, have its path wrong and can't find it.

提交回复
热议问题