Broken Images in Sandcastle Produced CHM

I am building CHM files using Sandcastle. I have both a VS2005 and the Prototype presentations built into a CHM file.

My problem is when I click on the expand/collapse button next to the Namespace (and wherever there is an expand/collapse option), I get a broken image. It is missing the expand_all.gif image. I checked all the usual suspects and the image does exist within the Icons directiory (Icons since this is the prototype, not Art for the VS2005).

Top two images in the link are Prototype, and the bottom two are VS2005 btw.

Link to an Image of the Problem

When I right click and view the properties for the image, I get the following:

Correct
mk:@MSITStore:C:\Documents%20and%20Settings\ricky.casey\Desktop\Prototype%20-%20SunGard%20.NET%20RI%20Documentation.chm::/icons/collapse_all.gif

Broken
mk:@MSITStore:C:\Documents%20and%20Settings\ricky.casey\Desktop\Prototype%20-%20SunGard%20.NET%20RI%20Documentation.chm::/icons/expand_all.gif

All other image seem to load correctly. Anyone else having this problem? Find a solution?
Thanks in Advance.

[1311 byte] By [RickCasey] at [2007-12-25]
# 1

Rick,

I will investigate at our end as we are able to build without any issues. BTW we are releasing a technical refresh for September CTP this week to resolve the known issues and other bugs in VS 2005 transforms.

Anand...

AnandRaman-MSFT at 2007-8-31 > top of Msdn Tech,Visual Studio,Developer Documentation and Help System...
# 2
Anand Raman - MSFT wrote:

Rick,

I will investigate at our end as we are able to build without any issues. BTW we are releasing a technical refresh for September CTP this week to resolve the known issues and other bugs in VS 2005 transforms.

Anand...

Look forward to it. If it solves my problem, I'll mark your response as the "Answer".

RickCasey at 2007-8-31 > top of Msdn Tech,Visual Studio,Developer Documentation and Help System...
# 3

Rick,

I ran into the same problem with the VS2005 help style. If you're building a CHM help file, you need to update the ReflectionToChmProject.xsl file to specify the path to the proper directory for the icons. With the VS2005 style, line 35 should look like

<xsl:text>art\*.gif&#x0a;</xsl:text>

In the default installation of Sandcastle the line is

<xsl:text>icons\*.gif&#x0a;</xsl:text>

Once I made the above change, the collapse_all.gif and expand_all.gif images were displayed as expected.

Note that the line should be icons when using the Prototype help style. Hopefully, Microsoft will ensure the image directory has a consistent name in a subsequent release of Sandcastle.


— Eric —

eroe at 2007-8-31 > top of Msdn Tech,Visual Studio,Developer Documentation and Help System...
# 4

Eric,

Thanks for the feedback. With this week's technical refresh we are making the image folders under prototype and vs2005 as icons for consistency.

Cheers.

Anand..

AnandRaman-MSFT at 2007-8-31 > top of Msdn Tech,Visual Studio,Developer Documentation and Help System...
# 5
eroe wrote:

Rick,

I ran into the same problem with the VS2005 help style. If you're building a CHM help file, you need to update the ReflectionToChmProject.xsl file to specify the path to the proper directory for the icons. With the VS2005 style, line 35 should look like

<xsl:text>art\*.gif&#x0a;</xsl:text>

In the default installation of Sandcastle the line is

<xsl:text>icons\*.gif&#x0a;</xsl:text>

Once I made the above change, the collapse_all.gif and expand_all.gif images were displayed as expected.

Note that the line should be icons when using the Prototype help style. Hopefully, Microsoft will ensure the image directory has a consistent name in a subsequent release of Sandcastle.


— Eric —

I made the change, build the documentation, and all the icons are correct. Thank you very much Eric.
Rick.

RickCasey at 2007-8-31 > top of Msdn Tech,Visual Studio,Developer Documentation and Help System...

Visual Studio

Site Classified