Microsoft MVP성태의 닷넷 이야기
TFS : 48. SandCastle Team Build targets 파일 [링크 복사], [링크+제목 복사],
조회: 10129
글쓴 사람
정성태 (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]


비밀번호

댓글 작성자
 




... 16  17  [18]  19  20  21  22  23  24  25  26  27  28  29  30  ...
NoWriterDateCnt.TitleFile(s)
750정성태5/18/200711095IIS : 15. WCAT 6.3
749정성태5/17/200710794TFS : 99. MSF Process Template for CMMI Process Improvement - v4.1 [1]
748정성태5/15/20079527VS.NET IDE : 32. Add-in : Paste XML as serializable type
747정성태5/15/200710092.NET 3.5 : 16. ADO.NET Orcas Sample Provider - Beta1
746정성태5/15/20079668VS.NET IDE : 31. Orcas - PowerTools for Team Architect
745정성태5/12/20079607VS.NET IDE : 30. Orcas - TDD 를 위한 기능 강화
744정성태5/10/20079458.NET 3.5 : 15. Orcas - ADO.NET vNext 맛보기
743정성태5/10/20079865TFS : 98. VSTT 의 수동 테스트를 위한 엑셀 파일 등록 방법
742정성태5/9/20079729기타 : 2. Javascript 의 객체지향 구현.
741정성태5/9/200710163VS.NET IDE : 29. Orcas - 보다 더 엄격한 네이밍/디자인 규칙 적용
740정성태5/9/20079993개발 환경 구성: 98. USB 하드 드라이브를 XP 부팅 가능하게 만드는 방법
739정성태5/4/200710229.NET 3.0 : 20. CardSpace를 웹 사이트에 적용하는 방법
738정성태5/4/200710824개발 환경 구성: 97. WIX 사례 - 제어판에 응용 프로그램 등록
737정성태5/1/20079454개발 환경 구성: 96. VPC 에 BitLocker 구성
736정성태4/28/20079574Debug : 17. WinDBG 에서의 함수 호출
735정성태4/26/20079979IIS : 14. IIS 7의 새로운 기능들 [1]
734정성태4/26/200710334IIS : 13. HTTP 연결 프로세스 == SYSTEM ?
732정성태4/26/200710005Debug : 16. 해제된 DLL 로 인한 문제가 발생했을 때의 원인 추적.파일 다운로드1
731정성태4/26/200710096.NET 3.0 : 19. WCF 서비스 호스트의 using 처리에 대해.
730정성태4/25/20079832TFS : 97. 프로그래밍을 통한 팀 빌드 실행 [1]
733정성태4/26/20079703    답변글 TFS : 97.1 프로그래밍을 통한 팀 빌드 실행 - PowerShell 버전
729정성태4/24/200711163.NET : 57. "Index was outside the bounds of the array" 공개 패치
728정성태4/23/20079897.NET 3.5 : 14. Orcas 에 소개되는 새로운 기능 - Query Syntax
727정성태4/23/20079510개발 환경 구성: 95. NetPing 유틸리티 소개
726정성태4/23/20079968TFS : 96. TFS Migration and Synchronization Toolkit
725정성태4/22/200711464개발 환경 구성: 94. App.config 의 설정 분리 방법
... 16  17  [18]  19  20  21  22  23  24  25  26  27  28  29  30  ...