Answer: /doc (Process Documentation Comments) (C# Compiler Options)
This approach won’t require you to duplicate the comments in the proxy source. Which is nice.
For the ShapeAppCSharp sample, I 'checked' the ‘XML documentation file’ output property of the ShapeAppBasicCSharp (host application) project which contains the sample’s object model (open the project properties, select the Build tab, and select the checkbox for ‘XML documentation file’ -- the last entry under the 'Output' category).
This setting generates an xml file during build time that can be used for intellisense and object browser documentation.
Now we’ll play a trick and use this file for the proxy assembly:
1. I changed the name of this file to ‘ShapeAppCSharpProxy.XML’ and edited the contents to rename the ‘assembly’name attribute to match the file name: ‘ShapeAppCSharpProxy’ as shown here:
<?xml version="1.0"?>
<doc>
<assembly>
<name>ShapeAppCSharpProxy</name>
</assembly>
2. Then I copied this XML documentation file into the same folder as the registered proxy assembly: \Proxy\bin\Debug\ShapeAppCSharpProxy.dll
3. Now, if I reset a reference to the proxy assembly in my addin project (ShapeAppCSharpProxy.dll), this XML file will be used for intellisense and object browser documentation. You can also edit the documentation file to match the proxy source more closely.
Watch out, though. If you rebuild the proxy asssembly, the documentation file will be erased, so you should keep te master copy in another place and copy the file into the proxy assembly folder as a post build step.