Metadata file … could not be found error when building projects

前端 未结 21 3046
北恋
北恋 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 15:02

    I have a similar problem each time I update the project from SVN.
    Another solution for ASP.NET:

    1. Close the IDE.
    2. Delete the files in C:\WINDOWS\microsoft.net\framework\v…\Temporary ASP.NET File\.
    0 讨论(0)
  • 2020-12-14 15:05

    If you've add a new project to the solution, check that this is in the build list (see the Configuration Manager)

    0 讨论(0)
  • 2020-12-14 15:06

    The way I've got round this in the past in VS2005 as well as just now in VS2008 is to make sure all of the dependancies are correct and the references are pointing to the projects not the dlls. Then go through and manually build each project in dependancy order. Once the last one builds you can run a full solution build and its fine.

    This answer is for future reference for others as I know the question is over 15 months old.

    Cheers

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