开发者

Where does the project reference gone?

I have a project (A) that holds reference to other 开发者_开发问答project (B). When I rebuild project A, I get the error:

Error 58 The type or namespace name 'Services' does not exist in the namespace 'MyProj' (are you missing an assembly reference?)

When I add (again) reference to project B, the red lines disappear and everything is fine. When I rebuild again (in order to execute the application) I get again that Error 58.

Where does the project reference gone??


Seems project's .NET versions conflict. Something very similiar happened to me in those cases.


Is project B getting a compile time error? This would be your problem. Make sure B compiles or you can't reference it.


Can you please include the output window content after rebuild? Sometimes the output file cannot be copied and this leads to similar issues


I think, there is a conflict between your project, i recommend you to change your project B assembly name and then delete its exist assembly in project A and add it again.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜