Microsoft MVP성태의 닷넷 이야기
TFS : 48. SandCastle Team Build targets 파일 [링크 복사], [링크+제목 복사],
조회: 10151
글쓴 사람
정성태 (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)
346정성태6/29/20069252Debug : 1. How to build Mdbg apps파일 다운로드1
344정성태10/20/200611840Vista : 3. Vista에서 제거되는 DHTML Editing Control - 두 번째 소식
345정성태10/20/200610554    답변글 Vista : 3.1 [현상 1] Vista 에서 OWA 접근
351정성태10/20/200613825    답변글 Vista : 3.2 Vista에서 문제되는 웹 사이트
352정성태10/20/200611060    답변글 Vista : 3.3 Vista 관련 조각 코드파일 다운로드1
343정성태6/26/20069702TFS : 10. TFS Bug Snapper v1.0 Released
342정성태6/26/20069087TFS : 9. TFS Notification Web Services - Project Template 1.1 available
341정성태6/25/20069501.NET : 7. VCPROJ - Shared Source Common Language Infrastructure 2.0 Release파일 다운로드1
340정성태6/25/20068775개발환경 구성 : 7. XSLT on the fly.
339정성태6/25/20069240.NET : 6. 무료 - ByesRoad.NetSuit Library
337정성태10/20/200613438Vista : 2. Credential Provider Samples파일 다운로드1
336정성태6/23/20068850.NET : 5. BLINQ using LINQ
335정성태6/23/20069512개발환경 구성 : 6. MSBuild or Team Build Tasks in the Community
334정성태6/26/20068984TFS : 8. Customizing MSF Process Guidance
333정성태6/21/20069245VS.NET IDE : 6. The Visual Studio Hosting Process - VSHost.exe
332정성태6/21/20069289TFS : 7. Team Foundation Power Toys
331정성태6/21/20069051Debug: CardSpaces Crash 를 해결해 가는 디버깅 과정
330정성태10/20/200610370Vista : 1. New API - 스레드 대기 상태를 확인하는 방법 제공
329정성태6/21/20069154.NET : 4. Tech-Ed 2006 - WebCast 자료
328정성태6/23/20069858개발환경 구성 : 5. Robocopy GUI
327정성태6/18/200610479.NET : 3. Open XML을 다루는 코드 스니핏 [1]
326정성태6/18/20069666개발환경 구성 : 4. COM+ 서비스에서 인증서 사용.
325정성태6/17/20069540STL.NET
324정성태6/17/20069310개발환경 구성 : 3. Signed versions of the power toys available on MS Downloads
323정성태6/17/20069656개발환경 구성 : 2. the sandbox projects
322정성태6/17/200610128TFS : 6. TFS 데이터베이스 백업파일 다운로드1
... 31  32  33  [34]  35  36  37  38  39  40  41  42  43  44  45  ...