Intellisense in external projects

  • Thread starter Thread starter Ben
  • Start date Start date
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
 
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.
 
That did it, thanks a lot!!!!

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

Thanks!
Ben
 
Back
Top