Microsoft MVP성태의 닷넷 이야기
TFS : 48. SandCastle Team Build targets 파일 [링크 복사], [링크+제목 복사],
조회: 10104
글쓴 사람
정성태 (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)
800정성태7/10/200712155.NET 3.5 : 27. IQueryable 구현 방법 [3]
799정성태7/6/200710238VS.NET IDE : 36. MSBee 를 이용한 .NET 1.1 용 프로젝트 빌드
798정성태7/4/200710968VS.NET IDE : 35. 업데이트 - Publish Website hotfix for VS 2005 SP1
797정성태7/3/200711150Debug : 21. Image File Execution Options 키 동작 방식 [1]
796정성태7/3/200712615.NET 3.5 : 26. WCF - WebServiceHost
795정성태6/29/200713153Windows Update "사용 약관 읽기" 화면 잘림 현상
794정성태6/29/200711937Visual C++ : 11. Orcas - 마샬링 라이브러리
793정성태6/28/200711916TFS : 109. Daily Build파일 다운로드1
792정성태6/28/200711387개발 환경 구성: 104. Internet Explorer - Local Intranet 판단 옵션
791정성태6/25/200711709TFS : 108. Orcas - Continuous Integration 지원 [1]
790정성태6/24/200711807개발 환경 구성: 103. Internet Explorer 와 관련된 각종 개발 도구들
789정성태6/23/200712331Vista : 47. 비스타에서만 사용가능한 Managed 기능들 (2)
788정성태6/21/200712416개발 환경 구성: 102. Windows환경에서의 OpenSSL설치파일 다운로드1
787정성태6/21/200712120개발 환경 구성: 101. HttpSimulator
786정성태6/21/200712113TFS : 107. Team Build 와 다중 프로젝트 빌드 설정
785정성태6/19/200712976Vista : 46. 탐색기에서의 네트워크 파일 복사가 느린 문제를 해결하는 방법
784정성태6/19/200712062Windows 2008 : 3. 주요 변화 10가지
783정성태6/18/200713414SDK : 10. IERefreshElevationPolicy Win32 API
782정성태6/17/200711735.NET : 60. 프로젝트에서 참조한 Unmanaged DLL 을 GAC 에 배포하는 방법
781정성태6/16/200713363.NET 3.5 : 25. LINQ 와 동적 쿼리
780정성태6/16/200712462개발 환경 구성: 100. Windows 2008 - 터미널 서비스 Drain 모드
779정성태6/15/200712150SDK : 9. Windows SDK 구분하기
778정성태6/13/200712099Web : 1. Silverlight - Programming HTML with C#
777정성태6/13/200711578TFS : 106. Microsoft eScrum Version 1.0
776정성태6/13/200711877.NET 3.0 : 21. WPF 실습 - Outlook 2007 스타일의 응용 프로그램 개발
775정성태6/11/200711976TFS : 105. Visual Studio Team Foundation Server ? Project Server 2007 Connector
... [16]  17  18  19  20  21  22  23  24  25  26  27  28  29  30  ...