dll上的感叹号问题?
我已经在我的项目中添加了一个用 Visual Studio 2005 编写的 DLL。
执行此操作后,添加的 DLL 附近会出现一个感叹号。
我不想有这个感叹号,因为我认为它反映了一个问题。
我的一个朋友将此 DLL 添加到他在这台计算机上的项目中,一切正常,所以我认为我没有很好地添加它,而且我的视觉工作室/计算机中也没有问题。
有什么想法如何处理吗?
I've added a DLL to my project, written with visual studio 2005.
After I did so, an exclamation mark appears nearby the added DLL.
I want to not having this exclamation mark because I'm assume its reflect about a problem.
A friend of me added this DLL to his project on this computer and everything worked well, so I assume I didn't added it well nor there is a problem in my visual studio/computer.
Any ideas how to handle it?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
当目标项目的目标框架和引用的版本不同时,我遇到了同样的问题。在我更改了项目属性后,它起作用了。
I had the same problem when Target framework of destination project and the version of references was different. After I've changed it Project properties, it worked.
这通常意味着 VS 找不到该程序集。确保它位于您可以访问的位置,并将其与您朋友的进行比较。例如,它是否在同事的机器上,可能会在某些时间关闭?它在网络驱动器上吗?
我建议制作该文件的本地副本并查看问题是否解决。
问题可能与此问题重复。
This usually means that VS can't find the assembly. Make sure it's in a location that is accessible to you, and compare this with your friend's. E.g., is it on a co-worker's machine that may be turned off at certain times? Is it on a network drive?
I'd suggest making a local copy of the file and seeing if the problem is solved.
Question is a possible duplicate of this one.