Metadata file … could not be found error when building projects

前端 未结 21 3229
北恋
北恋 2020-12-14 14:28

Every time I start Visual Studio 2008, the first time I try to run the project I get the error CS0006 The metadata file ... could not be found. If I do a rebuild of the comp

21条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-14 14:45

    I had this error it was caused by one of my project dependencies where the assembly name had been changed in the project, but the reference was not updated. So updating the reference or renaming the assembly back will fix it.

提交回复
热议问题