Visual Studio 2010:元数据文件“.../Debug/Graph.dll";找不到 [英] Visual Studio 2010: Metadata file ".../Debug/Graph.dll" could not be found
问题描述
我采用了在 Visual Studio 2005 中开发的解决方案,并尝试在 Visual Studio 2010 express 中构建该解决方案.找不到的文件是 .dll 文件.该项目是用 C# 编写的.我在网上看到有几个人有类似的问题,但是我还没有找到任何有用的答案.我怀疑它可能与.Net框架有关,但我检查了新旧机器上的版本,发现它们是相同的.任何能给我指明正确方向的东西都会很棒,谢谢.
I took a solution developed in visual studio 2005 and attempted to build the solution in visual studio 2010 express. The files not being found are .dll files. The project is written in C#. I've seen a couple people with similar problems online, however I have yet to find any useful responses. I had the suspicion it may have to do with the .Net framework, but I check the version on the new and old machine and found them to be the same. Anything that could point me in the right direction would be great, thanks.
推荐答案
这对我有用,但我使用的是 VS 2013:
This worked for me, but I am using VS 2013:
- 单独清理每个项目(右键单击 > 清理)
- 构建每个单独项目(右键单击> 构建)
- 构建启动项目(解决方案)
出于某种原因,清洗解决方案与单独清洗每个项目的效果不同.
For some reason, cleaning the solution had a different effect than cleaning every project individually.
这篇关于Visual Studio 2010:元数据文件“.../Debug/Graph.dll";找不到的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!