Display Version Information in reference API

Topics: Sandcastle
Jun 30, 2009 at 10:14 PM

Hi Dave,

I have two versions of the same assembly and they are properly labeled in the Version Manager dialog. I can also see the details in versions.xml. But the generated api displays blank information with only the following text:

"Version Information"

"Supported in: ,"

 

What do I need to do to get the version labels displayed? Do I need to manually add the version info in the code comments? or MRefBuilder is able to work it out by itself?

Thanks, Walter

Coordinator
Jun 30, 2009 at 10:52 PM

Hi Walter,

You've discovered a known bug.  Please see the following work item for a fix.

http://docproject.codeplex.com/WorkItem/View.aspx?WorkItemId=17932

And here's a discussion that provides related information:

http://docproject.codeplex.com/Thread/View.aspx?ThreadId=53166

- Dave

Jul 1, 2009 at 8:22 AM

Thanks Dave, that helped.

I have another question, is it possible to colorize the example code? ie. make the keywords blue, comments green, string literals red.

Coordinator
Jul 1, 2009 at 1:31 PM
Edited Jul 1, 2009 at 1:32 PM

Hi Walter,

Yes, but it's not a built-in feature of DocProject.  You'll need to download a special build component from the SHFB project.  See the following discussions for more information.

http://docproject.codeplex.com/Thread/View.aspx?ThreadId=15417

http://docproject.codeplex.com/Thread/View.aspx?ThreadId=28446

http://docproject.codeplex.com/Thread/View.aspx?ThreadId=30684

- Dave