Microsoft MVP성태의 닷넷 이야기
TFS : 48. SandCastle Team Build targets 파일 [링크 복사], [링크+제목 복사],
조회: 10110
글쓴 사람
정성태 (techsharer at outlook.com)
홈페이지
첨부 파일

Getting my Sandcastle Team Build targets file to work with Sandcastle September CTP
; http://blogs.msdn.com/rimuri/archive/2006/10/31/getting-my-sandcastle-team-build-targets-file-to-work-with-sandcastle-september-ctp.aspx

어제, SandCastle 의 NAnt 빌드 통합을 소개해드렸는데요. 오늘은, TFS Team Build 에 통합시키는 내용을 소개해 드리는 군요. ^^

첨부된 파일은 위의 토픽에서 다운로드 받은 것이고, 아래의 내용은 실제 토픽 내용을 가져온 것입니다.


Getting my Sandcastle Team Build targets file to work with Sandcastle September CTP

A few things before we get started:

  1. You will need the HTML Help Workshop installed
  2. September CTP of Sandcastle
  3. My September CTP Sandcastle Targets File (attached)
    This file needs to be copied to your %programfiles%\MSBuild directory

Next you will need to make some modifications to the standard configuration file (I am using the VS2005 style)

  1. Make a copy of %programfiles%\Sandcastle\Presentation\vs2005\configuration\sandcastle.config
  2. Change references of
    1. ..\..\ to %programfiles%\sandcastle\
    2. ..\cpref_reflection to %programfiles%\sandcastle\examples\cpref_reflection

Update your TFSBuild.proj to include the following:

  1. Add a new Import tag referencing the sandcastle targets file
  2. Add a new target called DocumentCLR
    <Target Name="DocumentCLR">
    <CallTarget Targets="SandcastleDocument" ContinueOnError="false" />
    <MakeDir Condition="!Exists('$(BinariesRoot)\Documentation')" Directories="$(BinariesRoot)\Documentation" ContinueOnError="false" />
    <Copy SourceFiles="$(SandcastleWorkingDirectory)\Output\$(SandcastleDocumentationName).chm" DestinationFiles="$(BinariesRoot)\Documentation\$(SandcastleDocumentationName).chm" ContinueOnError="false"/>
    </Target>
  3. Add an additional target that overrides the AfterCompile target
    <Target Name="AfterCompile">
    <CallTarget RunEachTargetSeparately="true" Targets="DocumentCLR" ContinueOnError="false"/>
    <OnError ExecuteTargets=" OnBuildBreak;"/>
    </Target>
  4. Update your TFSBuild.rsp file to include some configuration
    /p:SandcastleDocumentationName=NameOfYourCHM
    /p:SandcastleConfiguration="C:\Path_TO_MODIFIED_CONFIG\sandcastle.config"
    /p:SandcastleDocumentationOutput=$(BinariesRoot)\Documentation
    /p:SandcastleDependencies="%windir%\Microsoft.NET\Framework\v2.0.50727\*.dll,\\lcabuildvm01\3rdParty\Dependencies\*.dll,%windir%\assembly\GAC_MSIL\Microsoft.VisualStudio.QualityTools.UnitTestFramework\8.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll"
    /p:SandcastleHelpGeneration=CHM
Published Tuesday, October 31, 2006 10:45 AM by Richard Murillo
Attachment(s): Sandcastle.targets







[최초 등록일: ]
[최종 수정일: 11/1/2006]


비밀번호

댓글 작성자
 




1  2  [3]  4  5  6  7  8  9  10  11  12  13  14  15  ...
NoWriterDateCnt.TitleFile(s)
1129정성태2/14/201114652.NET : 113. Running .NET applications in-process using AppDomains
1128정성태2/13/201115270개발 환경 구성: 143. Visual Studio 소스 서버 보안 경고창 없애기
1127정성태2/5/201114540개발 환경 구성: 142. Internet Explorer 6, 7, 8, 9 테스트 - 다중 XP Mode
1126정성태1/28/201120198개발 환경 구성: 141. 키보드 매핑을 바꾸는 레지스트리 설정파일 다운로드1
1125정성태12/24/201013518VS.NET IDE : 59. Visual Studio 2010 - 웹 프로젝트의 Web.debug.config / Web.Release.config 기능을 일반 프로젝트에 적용하는 방법
1124정성태11/16/201022225개발 환경 구성: 140. 대용량 파일 고속 전송: Rapidant
1123정성태11/11/201012183Web : 8. IE 9 플랫폼 프리뷰 6 + IE 9 베타
1122정성태11/9/201012724개발 환경 구성: 139. RemoteFX - USB Rediection
1121정성태11/6/201011653.NET : 112. The F# PowerPack, with F# Compiler Source Drops
1120정성태10/20/201013233Web : 7. Internet Explorer - Browser Mode 와 Document Mode
1119정성태10/9/201012382IIS : 32. Steps for setting up a custom identity of an IIS 6 application pool
1118정성태9/17/201011095Web : 6. Internet Explorer 9 Beta Guide for Developers
1117정성태8/25/201011571.NET : 111. Azure CDN Guide Available
1116정성태8/24/201011321Web : 5. IE 9 - UI 보더 변경에 따른 2-pixel 변화
1115정성태6/18/201013117개발 환경 구성: 138. 프로세스 덤프를 하는 다양한 방법
1114정성태6/1/201011490.NET : 110. C#5 and Meta-Programming [1]
1113정성태4/27/201012337VS.NET IDE : 58. Visual Studio 2010에 기본 내장된 WPF Tree Visualizer
1112정성태4/15/201012097개발 환경 구성: 137. How to enable remote connections in SQL Server 2008?
1111정성태4/2/201010474VS.NET IDE : 57. Simulating Peak Load with VS Load Tests
1110정성태3/30/201011418Windows 7: 4. Windows 7 / R2부터 제공되는 NT 서비스 전용 계정
1109정성태3/17/201012182개발 환경 구성: 136. SCVMM에서 VM을 Template로 만들어서 Library에 넣은 후 새로운 VM 배포하기
1107정성태3/1/201011746.NET : 109. .NET 4.0에서 obsolete로 처리되는 타입
1106정성태2/24/201012358IIS : 31. Microsoft Application Request Routing (ARR)과 TFS App Tier
1105정성태2/9/201011485Debug : 46. 프로세스 종료 시 덤프 남기는 방법
1104정성태1/26/201011643Debug : 45. Debugging References with Graph Visualizations
1103정성태11/18/200910749개발 환경 구성: 135. How to Configure WPL v1.0 SRE
1  2  [3]  4  5  6  7  8  9  10  11  12  13  14  15  ...