References not found

▼魔方 西西 提交于 2019-12-11 10:51:22

问题


I have multiple projects in my solution and currently I am experiencing a very weird problem:

I have project A - rebuildable with no error. I have project B referencing project A - also rebuildable with no error. But when i try to rebuild all, the whole solution with othre projects except A and B it gives me errors:

Error 31  The type or namespace name 'Something' could not be found (are you missing a using directive or an assembly reference?)

And errors are not just in projects A or B, but all over the solution..

but when I comment in project B all the objects created from classes from project A ( and the project A is still referenced in project B) - it all works.

Any idea what may be causing such a strange problem?

thank you


回答1:


RM click on your Project -> Add Reference...

find your DLL

Updated:

you should change your .Net Framework 4 Client Profile to .Net Framework 4



来源:https://stackoverflow.com/questions/19219107/references-not-found

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!