Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / C# / March 2008

Tip: Looking for answers? Try searching our database.

How to generate anything usnig SandCastle

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
K Viltersten - 24 Mar 2008 20:54 GMT
In my naive hopefulness, i thought that
there will be a new tool available in
the menu, after i've installed
SandCastle. There's not...   :(

So, here i've been sitting and
XMLamenting the comments all day long,
the fingertips are soar, so is my butt
from all the sitting as well.

Guess what! I need help on this last
step. After i've installed SC, how do
i make it spit out the fine
documentation i'm yearning for?

--
Regards
Konrad Viltersten
--------------------------------
sleep    - a substitute for coffee for the poor
ambition - lack of sense to be lazy
Anthony Jones - 24 Mar 2008 23:19 GMT
> In my naive hopefulness, i thought that
> there will be a new tool available in
[quoted text clipped - 10 lines]
> i make it spit out the fine
> documentation i'm yearning for?

You've installed this:-

http://www.codeplex.com/Sandcastle/Release/ProjectReleases.aspx?ReleaseId=9921

?

Have you also got this:-

http://www.codeplex.com/SHFB/Release/ProjectReleases.aspx?ReleaseId=9848

?

(I've seen other GUIs but I prefer this one).

On the build page of your projects properties you should tick XML
documentation file:
The path should be bin\release\outputAssemblyName.XML

Build a release version of your project.

Fire up SHFB the GUI is reasonably self-explanatory (watch the status bar as
you navigate the UI).

Signature

Anthony Jones - MVP ASP/ASP.NET

K Viltersten - 25 Mar 2008 07:52 GMT
>> In my naive hopefulness, i thought that
>> there will be a new tool available in
[quoted text clipped - 12 lines]
>>
> http://www.codeplex.com/Sandcastle/Release/ProjectReleases.aspx?ReleaseId=9921

Yes, i got this one.

> http://www.codeplex.com/SHFB/Release/ProjectReleases.aspx?ReleaseId=9848

I've got this one now. Thanks!

The problem is that the build fails
due to "Could not find path to HTML
1.x help compiler".

Indeed, the option there says "false"
and no path is specified. On the
other hand, it can find SandCastle,
even though it's not specified by
it's path either.

Help?

(It's probably something elementary
but still a gotcha to me.)

--
Regards
Konrad Viltersten
--------------------------------
sleep    - a substitute for coffee for the poor
ambition - lack of sense to be lazy
Anthony Jones - 25 Mar 2008 10:38 GMT
> >> In my naive hopefulness, i thought that
> >> there will be a new tool available in
[quoted text clipped - 10 lines]
> >> i make it spit out the fine
> >> documentation i'm yearning for?

http://www.codeplex.com/Sandcastle/Release/ProjectReleases.aspx?ReleaseId=9921

> Yes, i got this one.
>
[quoted text clipped - 16 lines]
> (It's probably something elementary
> but still a gotcha to me.)

In order to build CHM files you need hhc.exe.  This is part of the MS Help
Workshop:-

http://msdn2.microsoft.com/en-us/library/ms669985.aspx

I would make sure you place specific paths in the path fields in the GUI.
For example if you want to build Help 2x files you'll need the VS 2005 SDK
(the help compilier for 2x files is buried in its
2007.02\VistualStudioIntegration\Archive\HelpIntegration).  The problem with
this SDK is that it installs an older version of sandcastle and the DXROOT
env variable to its version.

Signature

Anthony Jones - MVP ASP/ASP.NET

K Viltersten - 25 Mar 2008 11:56 GMT
>> The problem is that the build fails
>> due to "Could not find path to HTML
[quoted text clipped - 15 lines]
> Workshop:-
> http://msdn2.microsoft.com/en-us/library/ms669985.aspx

I was expecting the documentation to be
created as HTML, actually. Perhaps, i'm
wrong in trying to do so?

CHM files feel a little bit awkward,
sometimes. My preference is HTML.

--
Regards
Konrad Viltersten
--------------------------------
sleep    - a substitute for coffee for the poor
ambition - lack of sense to be lazy
Anthony Jones - 25 Mar 2008 12:34 GMT
> >> The problem is that the build fails
> >> due to "Could not find path to HTML
[quoted text clipped - 22 lines]
> CHM files feel a little bit awkward,
> sometimes. My preference is HTML.

In that case you don't need the SDK or Workshop.

In the build section set HelpFileFormat to WebSite.  In the Paths section
set output path to .\Help\  Now when you build you will get a website in
your bin\release\help folder.  It SHFB which defines the template for the
web site and it builds a ASPX based site.

Note leave set SdkLinkType set to Msdn and make sure your build machine has
access to the internet.  This creates links into the online MSDN library for
all the Framework types, very nice.

I have built a pure HTML version of the site with Sandcastle in the raw but
I wouldn't like to attempt to repeat it.

This tool is still very, very young.

Signature

Anthony Jones - MVP ASP/ASP.NET


Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.