C# XML Documentation comments - any way to make the HTML cross-browser?
-
Good morning. In case it matters, I am using Windows XP SP2 and Visual Studio .NET 2003 Enterprise (VS2003). I am just starting a new project and decided to use the XML-based documentation comments. I am currently using VS2003's built-in option to create HTML files (Tools | Build Comment Web Pages). After noticing the files weren't working in IE (due to the restricted zone problem in SP2), I created a virtual directory under IIS and loaded the files from there. Now the pages work fine in IE. However, the files won't work correctly in Mozilla 1.7.5 or Firefox 1.0.1. I assume that the problem is that the HTML files written using document.all as opposed to document.getElementById(). Does anybody have a work-around to make cross-browser friendly HTML pages? Thanks, Jim.
-
Good morning. In case it matters, I am using Windows XP SP2 and Visual Studio .NET 2003 Enterprise (VS2003). I am just starting a new project and decided to use the XML-based documentation comments. I am currently using VS2003's built-in option to create HTML files (Tools | Build Comment Web Pages). After noticing the files weren't working in IE (due to the restricted zone problem in SP2), I created a virtual directory under IIS and loaded the files from there. Now the pages work fine in IE. However, the files won't work correctly in Mozilla 1.7.5 or Firefox 1.0.1. I assume that the problem is that the HTML files written using document.all as opposed to document.getElementById(). Does anybody have a work-around to make cross-browser friendly HTML pages? Thanks, Jim.
-
Thanks for the information. Found NDoc at http://ndoc.sourceforge.net/[^], and after some fiddling got it to output what I wanted. The article at http://sourceforge.net/tracker/index.php?func=detail&aid=987533&group_id=36057&atid=416078[^] helped in that regard (setting the visibility of DocumentInternals to True). Thanks again, Jim.