Installation Issues

IMPORTANT: The new release uses a brand new MSI installer. As such, you must manually remove Sandcastle releases older than v2.7.0.0 using the Add/Remove Programs or Programs and Updates option in the Control Panel. In addition, you should check for and remove the old Sandcastle folder (i.e. C:\Program Files (x86)\Sandcastle) if it still exists after removal to delete any old patch files that could interfere with the new release.

General Changes

Added "/arg:project=Project" to the Generic.targets file in the Reflection target to include a root namespace container in the manifest. This works around an issue with the web output from the example GUI failing if there is more than one namespace in the documented assemblies.

Merged changes from Dany R. into the HTML to MAML Converter to support image alignment, topic ID and revision number metadata, and optional movement of leading topic text into the introduction element.

Thanks to Alex Sherman and Sergey Zhurikhin for the Russian translations of the Sandcastle resource item files that have been added to the language pack.

MRefBuilder

Added code to Duplicator.VisitTypeReference() in MRefBuilder so that it doesn't get stuck in an endless loop when a type contains a nested type that itself implements a nested type from within the containing type.

Added a check condition to MRefBuilder in RecordExtensionMethods() to prevent a crash in an odd case where a potential extension method has no parameters.

Added support to MRefBuilder for defining assemblies to ignore if unresolved. This is useful for ignoring assemblies that cannot be resolved for which you do not have a copy such as the Crystal Reports BusinessObjects.Licensing.KeycodeDecoder assembly. See the MRefBuilder.config file for an example definition.

Added a new Frameworks.xml file for MRefBuilder to use in loading framework assembly information. This new style of framework definition is enabled by using the framework and version attributes on the platform element in the MRefBuilder.config file. This ensures that the reflection information is accurate for the selected framework type and version. The framework and version attribute values correspond to one of the framework sets defined in the Frameworks.xml file. Using this method allows for automatic referencing of core framework assemblies as well as automatic binding redirection from older versions to the defined version for all assemblies in the framework's assembly set (i.e. automatically redirecting the RIA SDK dependencies from the Silverlight 4 versions to the Silverlight 5 versions when producing information for a Silverlight 5 project that uses the RIA SDK). In other words, you no longer need to specify the dependencies or define binding redirections for the standard framework assemblies.

XSLTransform

Added UnauthorizedAccessException check in XSLTransform to ignore temporary files that may be locked when attempting to delete them (i.e. virus scanners have them open).

Build Components

Made a couple of fixes to BrandingComponent that allows the content to show up in the Help Viewer 2.0 that comes with Visual Studio 2012.

In the MSHCComponent, removed the ContentType metadata as it's output by the XSL transformations. Changed "SelfBranded" to "Microsoft.Help.SelfBranded" for Help Viewer 2.0 support. Help Viewer 1.0 doesn't care which name you use for self-branded content but Help Viewer 2.0 requires the qualified name or it attempts to brand the content which causes some odd display issues. Also removed the header table fix code from MSHCComponent as it wasn't needed anymore (it's already handled by the script, see below).

Added an extra slash to the "ms-xhelp" links generated by ResolveConceptualLinksComponent and ResolveReferenceLinksComponent2 so that they work properly with Help Viewer 2.0. Without it, Help Viewer 2.0 renders invalid links for some reason.

Presentation Styles

Replaced conceptualLink elements with anchor links to the corresponding MSDN topics in the VS2010 style's resource item files.

Removed the style attribute from VS2010\Branding\ps-codesnippet.xslt as it was causing issues with FireFox and Chrome when viewing website output. The attribute appears to be unnecessary and its removal does not appear to affect the results.

Added a case for using the currently defined target attribute value on an external link in VS2010\Branding\ps-instrumentedLink.xslt so that it honors the user-defined link target rather than always forcing it to "_blank".

Fixed a bug in Presentation\VS2010\Branding\ps-instrumentedLink.xslt that caused local links to be rendered with an incorrect URL in Help Viewer 2.0.

Removed the background attribute from the nsrBottom table element in the VS2005 style as it was breaking the language filter links at the top of the page in Help Viewer 2.0. The script sets the background so it was not needed anyway.

Fixed various other issues in the VS2005 and VS2010 presentation styles to get them to work properly with Help Viewer 2.0.

Fixed the VS2005 and VS2010 presentation styles so that F1 keywords work properly when looking up API members via F1 in Visual Studio with MS Help Viewer.

Merged the collapsible section changes for MAML content from Microsoft into the Prototype style.

The dev10.mshc file from Visual Studio 2010 is no longer required. Due to differences in the way Help Viewer 2.0 works and the fact that the file is not part of Visual Studio 2012, a temporary file of the same name has been included with a set of transformations necessary to get the content built with Sandcastle. A future release will probably get rid of it altogether in favor of integrating its various parts directly into the presentation style.

Last edited Oct 13, 2012 at 2:16 AM by EWoodruff, version 2

Comments

No comments yet.