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


비밀번호

댓글 작성자
 




1  2  3  4  5  6  [7]  8  9  10  11  12  13  14  15  ...
NoWriterDateCnt.TitleFile(s)
1026정성태2/4/200910721TFS : 171. Increment your Assembly Versions using Team Build
1025정성태2/3/200910870Debug : 39. Windows 7 에서 동작하는 ADPlus
1024정성태2/1/200910177VS.NET IDE : 44. Project Template for TFS Utilities
1023정성태1/30/200910719SDK : 16. MsiQueryProductState API
1022정성태1/29/200910454.NET : 98. Pex
1021정성태1/27/200910209Windows 2008 : 8. Active Directory Recycle Bin
1020정성태1/23/200910544IIS : 27. IIS 6 환경에서 AppPool 사용 관리
1019정성태1/23/200910301.NET : 97. COM 개체 사용시 주의점
1018정성태1/23/200910580VS.NET IDE : 43. 새 프로젝트 대화창에서 프로젝트 템플릿이 없을 때 - DevEnv /InstallVSTemplates
1017정성태1/21/200910358.NET 4.0: 7. Workflow Foundation 3.0/3.5와 4.0의 호환에 관해서.
1016정성태1/20/200912242.NET 3.0 : 29. WPF - HWND를 가진 윈도우 투명 처리
1015정성태1/18/200910118Web : 2. Azure 서비스 맛보기 예제
1014정성태1/17/200912810Vista : 54. WinRM(Windows Remote Management)
1013정성태1/17/200910333Windows 7: 2. VS.NET 2008을 64비트 Windows 7 베타에 설치 불가
1012정성태1/15/200910648.NET 3.0 : 28. WPF - Dependency Object 를 Console 응용 프로그램에서 다루기
1011정성태1/13/20099849IIS : 26. 파일 공유를 통한 Configuration 공유 방법 개선
1010정성태1/13/200910576Windows 7: 1. BitLocker - USB 드라이브 지원
1009정성태1/12/200910501IIS : 25. ConfigurationEditor - .config 변경에 대한 코드 생성기
1008정성태1/10/200911399IE 8 User Agent 문자열
1007정성태1/10/200917001.NET 3.0 : 27. WPF - 폴더 선택 대화창 (FolderBrowserDialog) [4]
1006정성태1/7/200910660.NET : 96. C# Interpreter
1005정성태1/4/200911201MPI 를 사용한 첫 응용 프로그램 소개
1004정성태1/3/200910732개발 환경 구성: 125. PowerShell - 동적으로 C# 응용 프로그램 빌드 [1]
1003정성태1/1/2009144232008년 인기 순위 정리
1002정성태12/31/200810499Software Release Management - The Questionnaire
1001정성태12/31/200810191.NET : 95. 빌드된 어셈블리를 서명하는 방법 [1]
1  2  3  4  5  6  [7]  8  9  10  11  12  13  14  15  ...