473,396 Members | 1,748 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

documentation

My team has recently been moved into the Microsoft space from the Java
space. For the most part we are really enjoying the VS.NET 2005
environment, and have had little problem picking up C# (and VB.NET too since
almost every developer these days has gone thru a VB phase). The problem we
have found is that there apparently is no equivalent to javadoc in VS.NET.
We found where you can use XML based comments and create a XML documentation
file with your build, but there nothing to actually create HTML
documentation akin to javadoc. I did some research on the 'net and saw that
it was previously available prior to VS.NET 2005, and until recently there
was a open source option for VB called NDoc. Now it looks like there's some
new deal from Microsoft called Sandcastle, but getting output from it takes
about 3 days of hideous command line juggling. Kind of ridiculous to have a
world class IDE and then have to revert back to 1970's style Unix black
screens to get your documentation created.

So, do I have the story correct, or is there something out there that I can
give to my team before they roll over laughing?

Thanks
J
Aug 8 '06 #1
12 1717
"J Ames" <j_********@yahoo.comwrote in message
news:ub**************@TK2MSFTNGP05.phx.gbl...
We found where you can use XML based comments and create a XML
documentation file with your build, but there nothing to actually create
HTML documentation akin to javadoc. I did some research on the 'net and
saw that it was previously available prior to VS.NET 2005, and until
recently there was a open source option for VB called NDoc. Now it looks
like there's some new deal from Microsoft called Sandcastle, but getting
output from it takes about 3 days of hideous command line juggling.
The NDoc project has ceased for the time being, though some have expressed
an interest in taking over admin of it.

It seems SandCastle is the way to go at this point. Yes, the command line
is crude, but some have provided batch files. Follow this blog, SandCastle
will improve with time, will probably integrate with VS.NET.

http://blogs.msdn.com/sandcastle/
If you don't mind spending money, Innovasys has a product, looks nice.

http://www.innovasys.com/products/dx5/overview.asp
-- Alan

Aug 8 '06 #2
The VS.Net XML Comments create an XML document. There is an excellent reason
that an XML document is created rather than the previous HTML document. You
can use XSL to transform an XML document into any document format. You can
not do this with HTML.

The answer is, therefore, to use XSL to transform the XML to any format you
like. Here is an example of an HTML documentation system I created for our
in-house software. It uses the same XSL to do a transform on any code we
write:

http://www.dynamicsystems.com/weathe....Geography.htm

--
HTH,

Kevin Spencer
Microsoft MVP
Chicken Salad Surgery

Expect the unaccepted.

"J Ames" <j_********@yahoo.comwrote in message
news:ub**************@TK2MSFTNGP05.phx.gbl...
My team has recently been moved into the Microsoft space from the Java
space. For the most part we are really enjoying the VS.NET 2005
environment, and have had little problem picking up C# (and VB.NET too
since almost every developer these days has gone thru a VB phase). The
problem we have found is that there apparently is no equivalent to javadoc
in VS.NET. We found where you can use XML based comments and create a XML
documentation file with your build, but there nothing to actually create
HTML documentation akin to javadoc. I did some research on the 'net and
saw that it was previously available prior to VS.NET 2005, and until
recently there was a open source option for VB called NDoc. Now it looks
like there's some new deal from Microsoft called Sandcastle, but getting
output from it takes about 3 days of hideous command line juggling. Kind
of ridiculous to have a world class IDE and then have to revert back to
1970's style Unix black screens to get your documentation created.

So, do I have the story correct, or is there something out there that I
can give to my team before they roll over laughing?

Thanks
J

Aug 8 '06 #3
Hello,
Now it looks like there's some new deal from Microsoft called Sandcastle,
but getting output from it takes about 3 days of hideous command line
juggling.
Yes, Sandcastle is probably going to be The Way to build automatic
documentation in the future, but it is not yet ready for primetime just yet.
As others have mentioned, at present you need to write XSL transforms to get
HTML from the compiler-generated XML files. You could use an XSLT editor to
help you there, though.

There's also an older MSDN Magazine article that might help you here:

http://msdn.microsoft.com/msdnmag/issues/02/06/XMLC/

And for reference, Borland's Developer Studio (aka Delphi) comes with a
sample application named XMLDoc. However, it is a combination of Python and
Java code (!), which means it isn't easy to use, either.

http://bdn.borland.com/article/32770

--
Regards,

Mr. Jani Järvinen
C# MVP
Helsinki, Finland
ja***@removethis.dystopia.fi
http://www.saunalahti.fi/janij/
Aug 8 '06 #4
Kevin,
Here is an example of an HTML documentation system I created for our
in-house software.
Good stuff! I wish Visual Studio (or the SDK pack for that matter) would
come with at least a simple XSLT file that people could use.

--
Regards,

Mr. Jani Järvinen
C# MVP
Helsinki, Finland
ja***@removethis.dystopia.fi
http://www.saunalahti.fi/janij/
Aug 8 '06 #5
Hi Jani,

Actually, they do:

http://msdn.microsoft.com/msdnmag/issues/02/06/XMLC/
http://msdn.microsoft.com/library/de...pvsnetlab2.asp

--
HTH,

Kevin Spencer
Microsoft MVP
Chicken Salad Surgery

Expect the unaccepted.

"Jani Järvinen [MVP]" <ja***@removethis.dystopia.fiwrote in message
news:uy**************@TK2MSFTNGP05.phx.gbl...
Kevin,
>Here is an example of an HTML documentation system I created for our
in-house software.

Good stuff! I wish Visual Studio (or the SDK pack for that matter) would
come with at least a simple XSLT file that people could use.

--
Regards,

Mr. Jani Järvinen
C# MVP
Helsinki, Finland
ja***@removethis.dystopia.fi
http://www.saunalahti.fi/janij/


Aug 8 '06 #6
Hi Kevin,
Actually, they do:

http://msdn.microsoft.com/msdnmag/issues/02/06/XMLC/
http://msdn.microsoft.com/library/de...pvsnetlab2.asp
Yes, I'm aware of these (see my other post to the original poster), but not
that many people aren't. :-)

I mean, why not include one or two XSLT files with Visual Studio that would
help users generate decent HTML documentation out of the box?

--
Regards,

Mr. Jani Järvinen
C# MVP
Helsinki, Finland
ja***@removethis.dystopia.fi
http://www.saunalahti.fi/janij/
Aug 9 '06 #7
Hi Jani,

That might not be a bad idea. Perhaps even a Template that the developer can
use as a start?

--
HTH,

Kevin Spencer
Microsoft MVP
Chicken Salad Surgery

Accept the Unexpected.

"Jani Järvinen [MVP]" <ja***@removethis.dystopia.fiwrote in message
news:e7**************@TK2MSFTNGP06.phx.gbl...
Hi Kevin,
>Actually, they do:

http://msdn.microsoft.com/msdnmag/issues/02/06/XMLC/
http://msdn.microsoft.com/library/de...pvsnetlab2.asp

Yes, I'm aware of these (see my other post to the original poster), but
not that many people aren't. :-)

I mean, why not include one or two XSLT files with Visual Studio that
would help users generate decent HTML documentation out of the box?

--
Regards,

Mr. Jani Järvinen
C# MVP
Helsinki, Finland
ja***@removethis.dystopia.fi
http://www.saunalahti.fi/janij/


Aug 9 '06 #8
Hello Kevin,
That might not be a bad idea. Perhaps even a Template that the developer
can use as a start?
Yes, that would be great. What I would like to see is that when the
developer goes to project properties in Visual Studio and selects the "XML
documentation file" option under the Build tab, at the same time s/he could
select the XSLT template (or a set of such) that s/he would like to use to
build HTML documentation from the compiler-generated XML file.

I guess eventually Sandcastle will be integrated into Visual Studio, but do
you think in the mean time we could file a request about this for Microsoft?

--
Regards,

Mr. Jani Järvinen
C# MVP
Helsinki, Finland
ja***@removethis.dystopia.fi
http://www.saunalahti.fi/janij/
Aug 10 '06 #9
Well, Jani, they do read these newsgroups!

--
HTH,

Kevin Spencer
Microsoft MVP
Chicken Salad Surgery

Accept the Unexpected.

"Jani Järvinen [MVP]" <ja***@removethis.dystopia.fiwrote in message
news:%2*****************@TK2MSFTNGP05.phx.gbl...
Hello Kevin,
>That might not be a bad idea. Perhaps even a Template that the developer
can use as a start?

Yes, that would be great. What I would like to see is that when the
developer goes to project properties in Visual Studio and selects the "XML
documentation file" option under the Build tab, at the same time s/he
could select the XSLT template (or a set of such) that s/he would like to
use to build HTML documentation from the compiler-generated XML file.

I guess eventually Sandcastle will be integrated into Visual Studio, but
do you think in the mean time we could file a request about this for
Microsoft?

--
Regards,

Mr. Jani Järvinen
C# MVP
Helsinki, Finland
ja***@removethis.dystopia.fi
http://www.saunalahti.fi/janij/


Aug 10 '06 #10
Hello!
Well, Jani, they do read these newsgroups!
Sure Kevin, they do. But using forums/newsgroups for product suggestions is
like fishing with a hook and line in a pond; you never know what and when
you will get. :-)

--
Regards,

Mr. Jani Järvinen
C# MVP
Helsinki, Finland
ja***@removethis.dystopia.fi
http://www.saunalahti.fi/janij/
Aug 10 '06 #11
I suppose they have a "Wish List" somewhere, but I don't know where it is
offhand. In any case, using it may increase the probability of someone
reading it, but doesn't guarantee that it will be implemented. If you like,
you can try to find it.

--
HTH,

Kevin Spencer
Microsoft MVP
Chicken Salad Surgery

Accept the Unexpected.

"Jani Järvinen [MVP]" <ja***@removethis.dystopia.fiwrote in message
news:Oh****************@TK2MSFTNGP06.phx.gbl...
Hello!
>Well, Jani, they do read these newsgroups!

Sure Kevin, they do. But using forums/newsgroups for product suggestions
is like fishing with a hook and line in a pond; you never know what and
when you will get. :-)

--
Regards,

Mr. Jani Järvinen
C# MVP
Helsinki, Finland
ja***@removethis.dystopia.fi
http://www.saunalahti.fi/janij/


Aug 10 '06 #12
Hello again,
>I suppose they have a "Wish List" somewhere, but I don't know where it is
offhand.
The system used to be the Product Feedback Center (aka "Ladybug"), but this
has since then moved to Connect.

That is, to give feedback, report bugs and make suggestions or wishes for
Visual Studio or .NET Framework, one has to go here:

http://connect.microsoft.com/VisualStudio

I checked this site, and found that there are already two suggestions for
XSLT files that we've been discussing (IDs 105723 and 114523). Although both
have the status of "Closed", the former has been marked as being
"Postponed". So Microsoft is aware of our (mine at least) wish, and we'll
see what the "Orcas" release of Visual Studio will bring.

--
Regards,

Mr. Jani Järvinen
C# MVP
Helsinki, Finland
ja***@removethis.dystopia.fi
http://www.saunalahti.fi/janij/
Aug 11 '06 #13

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

20
by: Daniel R. Smorey Jr. | last post by:
I'm looking for a good place for Python documentation. I'm really lost on why it's so hard to find anything when it comes to me looking up a particular function in Python. My example would be the...
11
by: Steve | last post by:
posted on: comp.lang.python emailed to: docs@python.org I have a suggestion/request that will, I think, improve the Python documentation. Currently, the Python documentation in HTML format is...
24
by: Christopher J. Bottaro | last post by:
This post is just the culmination of my thoughts and discussions with my coworkers on Python. If you are not interested, please skip over it. At my work, we are developing a product from...
0
by: Jeff Levinson [mcsd] | last post by:
I'm an architect for a very large fortune 100 company and we still struggle with the best balance. However, I use a couple of simple guidelines that have worked very well for me in almost all...
0
by: Almoni | last post by:
Hi, I have a few .xsd files that include each other in the following way: <!-- lets call the main schema file AA.xsd and it includes BB.xsd inside it --> <xs:schema...
1
by: Ole Hanson | last post by:
I would like to be able to generate documentation for a custom configuration file (xml) to enable future support engineers to understand applicable values to the various elements inside the...
97
by: Cameron Laird | last post by:
QOTW: "Python makes it easy to implement algorithms." - casevh "Most of the discussion of immutables here seems to be caused by newcomers wanting to copy an idiom from another language which...
0
by: innovasys | last post by:
TORQUAY, DEVON, UK - Innovasys announced the release of Document! X 5, the fifth version of the documentation solution of choice for developers using Microsoft Visual Studio or the .NET Framework....
34
by: nicolasfr | last post by:
Hi, I am a bit disapointed with the current Python online documentation. I have read many messages of people complaining about the documentation, it's lack of examples and the use of complicated...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.