简体   繁体   English

添加ac#参考后无法使用它

[英]Unable to use a c# reference after adding it

so I am completely dumbfounded by this problem! 所以这个问题让我完全傻眼了! I believe I have added my C# references correctly, but for some reason, my Domain projects are not being intellisensed. 我相信我已经正确添加了C#引用,但是由于某些原因,我的Domain项目没有被智能感知。

Here is an example of other references working fine, 这是其他参考正常工作的示例,

And here's an example of the domain references not working. 这是域引用不起作用的示例。

To me this is a fairly simple mechanism of C# and I'm not sure why it works for one set of projects and not another. 对我来说,这是C#的一种相当简单的机制,我不确定为什么它适用于一组项目而不适用于另一组项目。

If it still compiles and it really is just intelli sense: 1. Close visual Studio 2. Move into the project dir 3. Delete the .vs folder 如果仍然可以编译并且确实是智能的意思:1.关闭visual Studio 2.移至项目目录3.删除.vs文件夹

Afterwards, it should work 之后,它应该工作

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM