4

I have a C# module which can be imported into IronPython (well, technically the all can, but one that's meant to be imported). However, the default help used for C# modules by IronPython just isn't sufficient enough.

Is there a way to grab and attach the VS exported xml documentation to a C# module with IronPython's help system? Or is there some way in the C# code to specify what IronPython should put in lieu of the default documentation?

helloworld922
  • 10,801
  • 5
  • 48
  • 85

1 Answers1

2

If the XML file is in the same location as the assembly and has the same filename just with ".xml" instead of ".exe" or ".dll" then IronPython should pick it up and include it in relevant doc strings for types, methods, etc...

Dino Viehland
  • 6,478
  • 20
  • 25
  • 1
    thanks, is there a way I could also IronPython to pickup the help docs from "built-in" .net functions/fields/classes/etc.? – helloworld922 Mar 26 '11 at 03:09
  • That should happen automatically if you have the XML documentation installed but it requires the user has the reference assemblies installed (which brings along the documentation). I'm not sure how to install just the reference assemblies but the place they get installed/we look is %ProgramFiles%\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0 – Dino Viehland May 04 '11 at 04:05