Sandcastle (software)

Sandcastle
Developer(s)Microsoft
Initial release2006; 19 years ago (2006)
Stable release
2.6.10621.1 / June 23, 2010; 14 years ago (2010-06-23)
Repositorygithub.com/EWSoftware/SHFB
Written inC#
Operating systemMicrosoft Windows
Platform.NET Framework
TypeDocumentation generator
LicenseMicrosoft Public License
Websiteewsoftware.github.io/SHFB/

Sandcastle is a documentation generator from Microsoft. It automatically produces MSDN-style code documentation out of reflection information of .NET assemblies and XML documentation comments found in the source code of these assemblies. It can also be used to produce user documentation from Microsoft Assistance Markup Language (MAML) with the same look and feel as reference documentation.

Overview

Sandcastle is a set of command line programs, configuration files, build components and XSLT files that work together to convert XML-based documentation into help topics that are fit for viewing in a help system. Sandcastle is typically used to automatically generate web-ready, XML-compliant HTML documentation in one of three built-in presentation styles from .NET assemblies and XML documentation files that are generated by compilers. The resulting HTML files are then used as input to tools such as the HTML Help Workshop to produce compiled help for distribution with the corresponding computer program.

Sandcastle currently features a lightweight graphical user interface (GUI) as an alternative to the MSBuild project, batch script and Windows PowerShell scripts that are also provided. Several community GUI tools are also available for Sandcastle, providing additional features and simplifying its usage.[1]

The Visual Studio SDKs for 2005 and 2008 include older CTP versions of Sandcastle,[2] although the latest release is available on GitHub.

Sandcastle tools

Sandcastle consists of several programs, not all of which are used in the typical help build process. Commonly used tools are listed below.

  • MrefBuilder uses Common Compiler Infrastructure (CCI) to reflect against managed assemblies and generate an output file.
  • XslTransform applies XSL transformations to an XML file. Typically, the specified input file is or derives from a file that is generated by MRefBuilder.
  • BuildAssembler executes a build component stack, once for each topic defined in an XML manifest. A build component stack is defined in an XML file with a .config extension. Sandcastle provides several build components that are used in build component stacks to perform tasks such as generating in-memory data indexes, resolving links, including shared content, executing XSL transformations and saving the final output to a file.

Community tools

Because in its current state Sandcastle by itself is rather complex to use, people have come up with tools and scripts that can automate the task for them. This section contains a list of such tools and scripts.

Output

Sandcastle produces XML-based HTML files in a chosen presentation style. (This does not mean, however, that the files are XHTML-compliant.) The HTML is defined by XSL transformation files that are included in the particular presentation style being used. A build normally uses only one presentation style at a time.

The HTML files that Sandcastle produces are either conceptual (user) documentation, being the result of a transformation from Microsoft Assistance Markup Language (MAML) topics, or they are reference documentation, which is automatically generated from reflection data and XML documentation comments. These two different types of HTML output share the same presentation style and may be compiled together to produce mixed user/reference documentation.

The processes for building conceptual documentation and reference documentation are similar, with one of the main differences being that conceptual documentation does not require the MRefBuilder program to be used.

Conceptual documentation consists of topics written using a MAML document type schema such as how to, walk-through, troubleshooting and several others. Sandcastle provides a conceptual build component stack (conceptual.config) that resolves shared content and links, and uses XSL files to transform MAML elements into HTML.

Reference documentation is generated automatically for managed Application Programming Interfaces (APIs) from reflection data and XML documentation comments. A "doc model" XSL transformation, provided by the chosen presentation style, is applied to define the files that will be generated. Sandcastle provides a reference build component stack (sandcastle.config) that builds in-memory indexes of the data, resolves shared content and links, and uses XSL to generate the final HTML output.

Compiled help

Sandcastle does not produce compiled help output itself (although, the HTML files that it produces can be used as input to HTML help compilers such as the HTML Help Workshop and Microsoft Help 2).

For example, the typical Help 1.x build process starts by running MrefBuilder.exe to produce an XML reflection file for one or more assemblies. The reflection file is then processed by the XslTransform.exe tool multiple times to apply various XSL transformations that add data such as a "doc model" and optional version information. Next, an XML-based topic manifest is generated and used by the BuildAssembler.exe program, which generates HTML topic files from the reflection data and XML documentation comments. An XML-based table of contents (TOC) file is generated and used by CHMBuilder.exe, along with the HTML files produced by BuildAssembler, to generate HTML Help Workshop project, index and TOC files. Finally, the HTML Help workshop is used to generate a compiled help file (.chm).

Some tools are used multiple times during a single build, like XslTransform and BuildAssembler. Depending upon the requirements, other tools and XSL transformations may be used at various stages during the process to modify Sandcastle's output.

Background

The Sandcastle application was developed by Microsoft to create a scalable and performing documentation generator for their API documentation. Microsoft released Sandcastle as a Community Technology Preview (CTP) version in July 2006, a few days before NDoc was declared dead [3][4] The author of NDoc, Kevin Downs, cited in an email sent through his mailing list reasons for discontinuing development of his popular tool as a lack of community support, both financially and as development contributions, an automated mail-bomb attack on his public email address and the NDoc2 mailing list address, and also his impression that Sandcastle "will become the de facto standard and that NDoc will slowly become a stagnant side-water."

Sandcastle averaged 217 downloads per day [5] during the month of September 2010, making it one of the top 25 most downloaded projects on CodePlex.

On June 6, 2008 the SandCastle project was removed from CodePlex website[6] after a discussion thread on the CodePlex site pointed out that source code was not available; despite CodePlex requiring this and the SandCastle project being touted as "open source".[7] On July 2 the project returned to CodePlex and the source code was published.[8]

History

  • July 29, 2006 — the July 2006 CTP version was released, this version mainly focused on performance and scalability. No GUI was present yet, the application did not contain a feature to resolve GAC DLLs yet.
  • August 28, 2006 — the August 2006 CTP version was released, the bugs fixed in this release seem to primarily for fixing crashes of the application. HTML output of the application is now compatible with Firefox. Some changes were made to the command line interface.
  • October 1, 2006 — the September 2006 CTP version was released, bug fixes primarily seem to focus on fixing bugs in the output, and adding better support for some XML comment tags.
  • November 11, 2006 — the November 2006 CTP version was released, along with bug fixes other items being supported are a few nDoc tags, and also transforms support Firefox.
  • December 10, 2006 — the December 2006 CTP version was released, providing a DXROOT environment variable used by configuration files, an API "ripping" feature, pass-through HTML, and presentation updates that included support for Firefox in the VS 2005 style.
  • March 6, 2007 — the March 2007 CTP version was released, adding 4 new and removing 3 XSL transformations, a batch build script and performance improvements.
  • March 17, 2007 — the March 2007 CTP Technical Refresh version was released, fixing the "ripping" feature and a utility bug, and including a file that was missing from the previously released installer.
  • June 19, 2007 — the June 2007 CTP version was released, providing an MSBuild project, a new version of the Common Compiler Infrastructure (CCI) reflection engine, a new presentation style named, "VS ORCAS", a new build component, new executable utilities, and several other enhancements.
  • June 27, 2007 — the June 2007 CTP Refresh version was released, renaming the previously released "VS ORCAS" presentation style to "Hana" to prevent confusion since the Orcas Beta 2 and RTM documentation shipping in MSDN was going to continue to be built in the VS 2005 presentation style.
  • October 1, 2007 — the September 2007 CTP version was released, with the first appearance of the CHMBuilder, VersionBuilder and DBCSFix tools, a Windows PowerShell build script, presentation style updates (most notably to the VS 2005 style), and without the .NET Framework reflection files that were normally included in previous installers.
  • October 30, 2007 — the October 2007 CTP version was released, including the .NET Framework files that were missing from the previous release, a new conceptual documentation build process requiring Microsoft Assistance Markup Language (MAML) topics as input, and also improved Firefox support.
  • January 16, 2008 — the Sandcastle 2.4.10115 version was released, being the first official non-CTP version of Sandcastle released to the web (RTW). An example graphical user interface (GUI) was provided, including an XSL transformation for Script# and the option to output an ASP.NET website.

See also

References

  1. ^ Sandcastle Help
  2. ^ Announcing Sandcastle: Sandcastle blog
  3. ^ Sandcastle – Microsoft CTP of a Help CHM file generator on the tails of the death of NDoc
  4. ^ NDoc 2 is Officially Dead
  5. ^ Sandcastle stats
  6. ^ Sandcastle project removed from Codeplex
  7. ^ "Sandcastle 'open source'?". Retrieved 2008-07-02.
  8. ^ "Sandcastle Source Code published in Codeplex". 2008-07-02. Retrieved 2008-07-02.

Read other articles:

У Вікіпедії є статті про інших людей із прізвищем Медвідь. Федір Медвідь Федір Медвідь Особисті дані Повне ім'я Федір (Ференц) Йожефович Медвідь Народження 5 січня 1943(1943-01-05)   Нове Давидково, Угорщина Смерть 8 листопада 1997(1997-11-08) (54 роки)   Київ, Україна Поховання Берк...

 

Logo Fitzgeralds Fitzgeralds Las Vegas merupakan sebuah hotel dan kasino bertingkat 34 dan berkamar 638 di pusat kota Las Vegas. Fitzgeralds dimiliki oleh Barden Nevada sebuah subsidiari The Majestic Star Casino, LLC. Memiliki kasino seluas 42.000 kaki persegi, dan beberapa restoran, juga pusat bisnis dan kolam renang dan spa. Hotel ini terletak di ujung timur Fremont Street Experience. Fitzgerald's juga memiliki agenda balap dan olahraga. Kasinonya memiliki sekitar 940 mesin slot, dan 29 per...

 

Logo di Creative Commons. Le licenze Creative Commons (a cui ci si può riferire anche come le Creative Commons[1]) sono delle licenze di diritto d'autore, e si possono applicare a qualsiasi opera da esso tutelata. Una licenza Creative Commons è un contratto ed il presupposto fondamentale per poterla utilizzare è di essere titolari di tutti i diritti o di avere una esplicita autorizzazione/richiesta dal titolare dei diritti (ad esempio l'editore). L’autore, in un modo semplice e s...

Artikel ini sebatang kara, artinya tidak ada artikel lain yang memiliki pranala balik ke halaman ini.Bantulah menambah pranala ke artikel ini dari artikel yang berhubungan atau coba peralatan pencari pranala.Tag ini diberikan pada Agustus 2017. A-1 adalah sebutan untuk kode yang digunakan oleh Angkatan laut Amerika Serikat selama Perang Dunia I yang menggantikan Kode Rahasia 1887, SIGCODE dan sistem lain yang dirancang untuk komunikasi radio. Sistem kriptografi ini dikembangkan oleh Lt. W. W....

 

Fender Telecaster® Produsen Fender Tahun produksi 1948-sekarang Konstruksi Jenis badan gitar Solid Jenis sambungan leher Bolt-on neck Panjang fretboard 25,5 inci Kayu Badan gitar Ash, Alder, atau Poplar Leher Maple Fretboard Maple atau Rosewood Perangkat elektronik Jenis jembatan gitar Fixed Pickup * 2 Single-coil* 1 Single-coil + 1 Humbucker* 2 Humbucker Warna yang tersedia Lake Placid Blue; Black; Candy Apple Red; Brown Sunburst; Midnight Wine ; atau Arctic White Fender Telecaster® atau ...

 

Swedish politician (born 1979) Mats GreenMember of the RiksdagIncumbentAssumed office 29 September 2014ConstituencyJönköping CountyMayor of JönköpingIn office1 January 2011 – 31 December 2014Preceded byAcko Ankarberg JohanssonSucceeded byAnn-Marie Nilsson Personal detailsBorn (1979-04-06) 6 April 1979 (age 45)Huskvarna, SwedenPolitical partyModerate Party Mats Anders Green (born 6 April 1979) is a Swedish politician of the Moderate Party. He has been Member of the Riks...

American television series Not to be confused with The Flash (1990 TV series). The FlashTitle card from the first three seasons.Genre Superhero Drama Action Based onCharacters from DC ComicsDeveloped by Greg Berlanti Andrew Kreisberg Geoff Johns Starring Grant Gustin Candice Patton Danielle Panabaker Rick Cosnett Carlos Valdes Tom Cavanagh Jesse L. Martin Keiynan Lonsdale Neil Sandilands Hartley Sawyer Danielle Nicolet Jessica Parker Kennedy Chris Klein LaMonica Garrett Efrat Dor Kayla Compto...

 

LoucellescomuneLoucelles – Veduta LocalizzazioneStato Francia Regione Normandia Dipartimento Calvados ArrondissementCaen CantoneBretteville-l'Orgueilleuse TerritorioCoordinate49°13′N 0°35′W / 49.216667°N 0.583333°W49.216667; -0.583333 (Loucelles)Coordinate: 49°13′N 0°35′W / 49.216667°N 0.583333°W49.216667; -0.583333 (Loucelles) Superficie3,05 km² Abitanti199[1] (2009) Densità65,25 ab./km² Altre informazioniCod...

 

Public university in Wuhan, Hubei, China Not to be confused with Hebei University.Hubei University湖北大学Motto日思日睿 笃志笃行TypePublicEstablished1931LocationWuhan, Hubei, ChinaCampusUrban, 1,800 mu (1.2 km2)Websitewww.hubu.edu.cn Hubei University (湖北大学) is a public university in Wuhan, Hubei, China. The institute was founded in 1931 as Hubei Provincial Education College. The college moved between locations and changed its name several times during its half-century of d...

Legislative speaker in Bangladesh Speaker of the Jatiya Sangsadজাতীয় সংসদের স্পীকারজাতীয় সংসদের সভাধ্যক্ষSeal of the Speaker of the Jatiya SangsadStandard of the Speaker of the Jatiya SangsadIncumbentShirin Sharmin Chaudhurysince 30 April 2013Jatiya SangsadStyleThe HonourableSeatRangpur-6AppointerJatiya SangsadInaugural holderShah Abdul HamidFormation10 April 1972; 52 years ago (1972-04-10...

 

2019 Danish general election ← 2015 5 June 2019 2022 → All 179 seats in the Folketing90 seats needed for a majorityTurnout84.60%[1] (1.29 pp) Party Leader % Seats +/– Elected in Denmark proper Social Democrats Mette Frederiksen 25.90 48 +1 Venstre Lars Løkke Rasmussen 23.39 43 +9 DPP Kristian Thulesen Dahl 8.74 16 −21 Social Liberals Morten Østergaard 8.63 16 +8 SF Pia Olsen Dyhr 7.71 14 +7 Red–Green Pernille Skipper[a] 6.94 13 −1 Conserva...

 

Belgian high-speed rail line HSL 2HSL 2 near Hoegaarden alongside A3/E40OverviewStatusIn operationOwnerInfrabelLocaleBelgiumTerminiLeuvenAnsStations0ServiceTypeHigh Speed RailHeavy railSystemBelgian HSLOperator(s)Thalys, ICE, SNCB/NMBSDepot(s)Forest, (Leuven, Ans)Rolling stockThalys PBKA, ICE 3M, SNCB Class 18 or Class 13 + I11 or I6 or I10HistoryOpened15 December 2002TechnicalLine length66 km (41 mi)Number of tracks2Track gauge1,435 mm (4 ft 8+1⁄2 in) stan...

American historian (born 1943) Bruce CumingsCumings in 2012Born (1943-09-05) September 5, 1943 (age 80)Rochester, New York, U.S.AwardsJohn K. Fairbank Prize (1983) Quincy Wright Book Award University of Chicago Excellence in Graduate Teaching (2003) Kim Dae-jung Academic Award (2007)Academic backgroundAlma materDenison University (BS)Indiana University (M.A.)Columbia University (PhD)Academic workDisciplineEast Asian historyInternational relationsInstitutionsUniversity of ChicagoNorthwest...

 

1934 film Hubertus CastleDirected byHans DeppeWritten byPhilipp Lothar MayringWilly Rath Based onHubertus Castle by Ludwig GanghoferProduced byPeter OstermayrAlfred ZeislerStarringFriedrich UlmerHansi KnoteckArthur SchröderCinematographyKarl AttenbergerPeter HallerEdited byPaul MayMusic byFranz R. FriedlProductioncompaniesDialog-FilmUFADistributed byUFARelease date 27 July 1934 (1934-07-27) Running time85 minutesCountryGermanyLanguageGerman Hubertus Castle (German: Schloß Hub...

 

MASH Ficha técnicaDirección Robert AltmanProducción Ingo PremingerGuion Ring Lardner Jr.Basada en MASH: A Novel About Three Army Doctors de Richard Hooker y W. C. HeinzMúsica Johnny MandelFotografía Harold StineMontaje Danford B. GreeneProtagonistas 21 personasDonald SutherlandElliott GouldTom SkerrittSally KellermanRobert DuvallRene AuberjonoisDavid ArkinFred WilliamsonMichael MurphyJohn SchuckBud CortCarl GottliebDavid ArkinGary BurghoffJo Ann PflugRoger BowenBobby TroupG. WoodJohn Fuj...

Austrian television and film actress (1938–2022) Christiane HörbigerHörbiger in 2009Born(1938-10-13)13 October 1938Vienna, Austria, Nazi GermanyDied30 November 2022(2022-11-30) (aged 84)Vienna, AustriaOccupationActressParentsAttila Hörbiger (father)Paula Wessely (mother)RelativesChristian Tramitz (nephew)Paul Hörbiger (paternal uncle) Christiane Hörbiger (13 October 1938 – 30 November 2022) was an Austrian stage, film, and television actress. Her first major film role was Mary V...

 

هذه المقالة تحتاج للمزيد من الوصلات للمقالات الأخرى للمساعدة في ترابط مقالات الموسوعة. فضلًا ساعد في تحسين هذه المقالة بإضافة وصلات إلى المقالات المتعلقة بها الموجودة في النص الحالي. (أغسطس 2019) كأس الاتحاد الإنجليزي 1872–73 تفاصيل الموسم كأس الاتحاد الإنجليزي  النسخة 2 ...

 

American made for TV film series for the Hallmark Channel between 2005 and 2008 Jane DoeGenreMysteryCreated byDean HargroveDirected byJames A. Contner (1, 7, 8)Armand Mastroianni (2, 3, 5)Mark Griffiths (4)Lea Thompson (6, 9)StarringLea ThompsonJoe PennyCountry of originUnited StatesOriginal languageEnglishProductionExecutive producersRobert Halmi Jr.Dean HargroveLarry LevinsonRunning time80–84 minutesProduction companiesAlpine Medien ProductionsLarry Levinson ProductionsOriginal releaseNet...

2004 2014 Élections européennes de 2009 en Italie 72 députés européens pour l'Italie 6 et 7 juin 2009 Corps électoral et résultats Inscrits 50 342 153 Votants 32 749 004   65,05 %  6,7 Votes exprimés 30 623 840 Votes blancs 2 125 164 Le Peuple de la liberté – Silvio Berlusconi Voix 10 797 296 35,26 %   2,8 Sièges obtenus 29  4 Parti démocrate – Dario Franceschini Voix 7 ...

 

Busto di Filippo StrozziAutoreBenedetto da Maiano Data1476 circa Materialemarmo Dimensioni51×56×30 cm UbicazioneMuseo del Louvre, Parigi Il Busto di Filippo Strozzi è una scultura marmorea (51x56x30 cm) di Benedetto da Maiano, databile al 1476 e conservato nel Museo del Louvre a Parigi. Indice 1 Storia 2 Descrizione e stile 3 Voci correlate 4 Collegamenti esterni Storia Il busto si trovava presso la tomba di Filippo Strozzi nella basilica di Santa Maria Novella a Firenze. Filippo Stro...