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


비밀번호

댓글 작성자
 




... 31  32  33  34  [35]  36  37  38  39  40  41  42  43  44  45  ...
NoWriterDateCnt.TitleFile(s)
322정성태6/17/200610128TFS : 6. TFS 데이터베이스 백업파일 다운로드1
321정성태6/16/200610309TFS : 5. Team Build 유형 삭제 방법파일 다운로드1
320정성태6/16/200610703TFS : 4. TFS 접근에 대한 SSL 관련 설정파일 다운로드1
319정성태6/16/200610945TFS : 3. TFS 에서의 "Check Out" 과 기존 SourceSafe 에서의 "Check Out" 기능 차이
318정성태6/16/200611219TFS : 2. TFS 에서의 Label 과 기존 SourceSafe 에서의 Label 기능 차이파일 다운로드1
317정성태6/17/20069833VS.NET IDE : 5. VC++ - 디버거 상태에서 값을 보여주는 형태를 사용자 정의파일 다운로드1
316정성태6/16/20068526VS.NET IDE : 4. Microsoft Visual Studio Team Edition for Software Developers파일 다운로드1
315정성태6/16/20069892.NET : 2. Gmail 서버를 이용해서 SmtpClient 로 메일 보내기파일 다운로드1
314정성태6/16/20068963VS.NET IDE : 3. Validation (XHTML 1.0 Transitional): Attribute '...' is considered outdated. A newer construct is recommended.파일 다운로드1
313정성태6/15/20069116IIS - 2. Adding OpenSearch for your CommunityServer Site
312정성태6/16/20069186TFS : 1. TeamBuild and VC++ overrides [1]
311정성태6/14/20069456IIS - 1. Changes to compression in IIS7
310정성태6/16/20068868개발환경 구성 : 1. Windows 2003 + .NET Framework 고성능 애플리케이션 구축파일 다운로드1
309정성태6/11/200611154기타 : 1. [Outlook] EXE 첨부파일 해제하는 방법
308정성태6/8/20068830.NET : 1. 웹 서비스 - 압축 SoapExtension파일 다운로드1
306정성태6/7/20069509SDK : 2. Delta Compression Application Programming Interfaces
304정성태6/2/20069159SDK : 1. CS_OWNDC 상세 설명
305정성태6/3/20069656    답변글 SDK : 2. CS_CLASSDC 상세 설명
303정성태6/2/20068847VS.NET IDE : 2. LINQ May CTP 를 설치하는 경우, C# 편집기에서 Smart Tag 동작하지 않는 문제
302정성태6/2/20068967VS.NET IDE : 1. Atlas (CTP) 컨트롤 - 툴박스에 추가
301정성태5/31/200611136IronPython 강좌
300정성태5/29/20069124Phoenix RDK 5월판
299정성태5/28/20069835Visual C++ 2005 IDE Enhancements Part 1 ~ 5
298정성태5/28/20069684IE7+ 라는 새로운 이름
297정성태5/27/20069987TRX2HTML
296정성태5/27/20069458WWF 로 만든 Tetris
... 31  32  33  34  [35]  36  37  38  39  40  41  42  43  44  45  ...