Microsoft MVP성태의 닷넷 이야기
TFS : 48. SandCastle Team Build targets 파일 [링크 복사], [링크+제목 복사],
조회: 10134
글쓴 사람
정성태 (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)
599정성태1/21/200710103Vista : 29. UAC 와 보안 데스크탑
598정성태1/21/20079372VS.NET IDE : 16. Orcas 2월 CTP 소식 - Sapphire 프로젝트
604정성태1/23/20079396    답변글 VS.NET IDE : 16.1 Sapphire가 결합된 Orcas 미리 보기
597정성태1/24/20079201.NET : 49. Enterprise Library 3.0 2007년 1월 CTP
596정성태1/20/20079910Visual C++ : 7. ATL Server 공유 소스 프로젝트로 공개(계획)
595정성태1/19/200711320Vista : 28. Windows Eventing 6.0과 관련된 토픽 모음 [2]
593정성태1/18/200710129개발 환경 구성: 68. Dotfuscator Stack trace decoding tool
592정성태1/18/200711067IIS : 8. 기본 문서 동작 방식
591정성태1/18/20079986.NET 3.5 : 2. Orcas CTP에서 소개되는 새로운 암호화 관련 클래스
590정성태1/17/200710249.NET 3.5 : 1. Orcas Jan CTP 에서 간단한 Linq 프로그램 시작
589정성태1/17/200710056Visual C++ : 6. VC 8.0 런타임 설치 여부
588정성태1/16/20079759Vista : 27. 비스타 용 응용 프로그램 개발 관련 문서
587정성태1/16/200710135Vista : 26. 시작 프로그램에 등록되는 응용 프로그램 마이그레이션
586정성태1/16/20079850TFS : 65. Areas, Iterations, and Subscriptions
585정성태1/16/20079518.NET : 48. Java 와 .NET 의 보안 측면을 비교한 문서 [2]
584정성태1/15/20079850.NET : 47. PInvoke 함수에 대한 적절한 보안 적용
583정성태1/10/20079424Debug : 6. MDbg 관련 자료 링크 모음
582정성태1/10/20079267.NET 3.0 : 11. Windows CardSpace Hads on Lab
581정성태1/10/20079323.NET : 46. Validation Application Block (Enterprise Library 3.0)
594정성태1/18/20079709    답변글 EntLib 3.0 1월 CTP - Validation Application Block
580정성태1/9/20079835TFS : 64. 명령행에서 프록시 서버 지정
579정성태1/9/20079528TFS : 63. Area 의 정의
578정성태1/8/200710076Vista : 25. 비스타 멀티 부트
577정성태1/5/20079738VS.NET IDE : 15. 사용팁 몇 가지
576정성태1/5/20079561.NET : 45. internal 접근자보다 더 안전하게 보호하는 방법
575정성태1/4/20079886TFS : 62. Doing an Incremental Get in Team Build
... 16  17  18  19  20  21  22  23  [24]  25  26  27  28  29  30  ...