Intellisense in external projects

B

Ben

I have code in project (a) that is similar to the following;

///summary
/// Performs action Foo
///summary
public void Foo()
{
// code
}

Now, anywhere inside project (a) when I invoke class.Foo I see intellisense
that says 'Performs action Foo'. That's perfect! If I reference project
(a) from project (b) I lose the intellisense :( I've tried everything I can
think of and I'm out of ideas. Well everything I can think of was output
xml in project (a)... I see the output is imported into project (b), but
project (b) still has zero intellisense short of method names, return types
and parameter names/types.

Please any help would be great!!!

Thanks,
Ben
 
A

Anders Borum

Hello!

Compile the Xml documentation when compiling your assemblies. Place your Xml
documentation in the bin directory using the following naming scheme:
<assemblyname>.xml.

When opening the project, VS .NET should automatically pick up the
documentation file and provide you with the intellisence. Works great, try
google if you need more help - there's loads of answers to this question.
 
B

Ben

That did it, thanks a lot!!!!

That being, naming the xml file using the assembly name. Who knew :)

Thanks!
Ben
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top