Microsoft MVP성태의 닷넷 이야기
TFS : 48. SandCastle Team Build targets 파일 [링크 복사], [링크+제목 복사],
조회: 10124
글쓴 사람
정성태 (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)
675정성태3/7/20079480Debug : 9. 실행 시 IL 코드 교체 프로파일러
674정성태3/7/200710001.NET 3.5 : 6. Orcas 3월 CTP 에 포함된 LINQ to Entities 예제 문제 수정
673정성태3/7/200710179VS.NET IDE : 22. XML 편집시 XSD 를 이용한 인텔리센스 제공
672정성태3/7/200710301개발 환경 구성: 84. Vista에서 ClickOnce 배포 환경 설정
671정성태3/6/200710317개발 환경 구성: 83. 지문 인식기 관련 프로그래밍
670정성태3/6/20079748개발 환경 구성: 82. Virtual PC 2007의 Vista에 대한 사운드 지원
669정성태3/6/20079799VS.NET IDE : 21. Orcas - 프로젝트 속성창 버그
668정성태3/6/20079715개발 환경 구성: 81. 소프트웨어적으로 Raid 0, 1, 5 구성하는 방법
667정성태3/6/20079621TFS : 86. Orcas에서 변화된 TFS Workspace 관리 방식 3가지
666정성태3/2/20079699VS.NET IDE : 20. Orcas - 스크립트 디버깅 기능 향상
665정성태3/1/200710170.NET 3.5 : 5. 새롭게 추가된 네트워킹 기능
664정성태3/1/20079894VS.NET IDE : 19. Visual Studio Code Metrics
663정성태3/1/200710042VS.NET IDE : 18. Orcas에 포함된 새로운 웹 폼 디자이너
662정성태3/1/200710858Office : 1. Visio 로 UI 프로토타입 설계
661정성태3/1/20079919TFS : 85. Visual Studio Team System Guidance
660정성태2/27/20079482.NET : 54. EntLib 3.0 의 새로운 AppBlock - Policy Injection
659정성태2/25/200710547개발 환경 구성: 80. 새로운 버전의 FxCop 을 빌드 과정에 포함
658정성태2/25/200710409TFS : 84. FxCop 사용자 정의 룰을 위한 단위 테스트 설정
657정성태2/23/200710473Vista : 39. 2초 내에 Resume이 되도록 환경 설정
656정성태2/21/200710610Vista : 38. 개발자를 위한 UAC 관련 문서
655정성태2/21/200710313개발 환경 구성: 79. MSSQL Reporting Service 구성
654정성태2/21/20079711.NET 3.0 : 14. System.IdentityModel.Selectors.CardSpaceSelector 클래스 소개
653정성태2/21/20079786TFS : 83. 팀 빌드 과정에 ClickOnce 빌드 포함
652정성태2/19/200710549개발 환경 구성: 78. FastCGI를 이용하여 Ruby on Rails 를 IIS 에서 구동
651정성태2/18/200710214Vista : 37. x64 - 바이오스 업데이트
650정성태2/17/200710041TFS : 82. ASP.NET - Team Build 후에 파일 복사
... 16  17  18  19  20  [21]  22  23  24  25  26  27  28  29  30  ...