[英]Can not add a new reference from an new project in my solution
I did this thousand time but now it doesn't work. 我做了这千次,但是现在不起作用了。 I added a new project to my current solution.
我在当前解决方案中添加了一个新项目。 then I added a reference from the new project to the existing one.
然后我将新项目中的参考添加到现有项目中。 but I always get the error when I trying to build:
但是在尝试构建时总是会出现错误:
Error 2 The type or namespace name 'AccessClass' could not be found (are you missing a using directive or an assembly reference?)
错误2找不到类型或名称空间名称'AccessClass'(您是否缺少using指令或程序集引用?)
I tried different things, cleanup the solution, rebuild, etc. without success. 我尝试了不同的事情,清理了解决方案,进行了重建等,但均未成功。 the solution is under source control (TFS).
该解决方案处于源代码控制(TFS)下。 but this should not be a problem, isn't it??
但这应该不是问题,不是吗?
any suggestions to solve this issue? 有什么解决这个问题的建议吗?
thanks, tro 谢谢,tro
check on the configuration manager of the solution in vs2012. 在vs2012中检查解决方案的配置管理器。 It might not be building your new project in which case there is no dll or exe to reference.
在这种情况下,可能没有构建新项目,而没有dll或exe可供参考。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.