简体   繁体   English

Visual Studio 2010中项目之间的Intellisense

[英]Intellisense between projects in visual studio 2010

I've got ac# project that is full of intellisense comments, and this project compiles to a DLL. 我有一个充满智能感知注释的ac#项目,并且该项目编译为DLL。

Now when i add this dll as a reference in another project, i do not get intellisense when accessing the members of the original project. 现在,当我将此dll作为参考添加到另一个项目中时,访问原始项目的成员时我不会得到智能感知。

Any ideas how i can get this to work? 任何想法,我怎样才能使它工作?

Thanks 谢谢

In the project properties, on the Build tab, check the box for "XML documentation file" to have it output XML documentation. 在项目属性的“构建”选项卡上,选中“ XML文档文件”框,使其输出XML文档。 As long as this XML is present in the directory where the dll is referenced from, you should get intellisense. 只要在引用dll的目录中存在此XML,就应该获得智能感知。

Intellisense comments? Intellisense评论? Do you mean the /// comments directly above the method definition? 您是在方法定义上方直接////注释吗? That gets compiled into the assembly. 那将被编译到程序集中。 Intellisense should just work. Intellisense应该可以正常工作。

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

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