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


비밀번호

댓글 작성자
 




... [46]  47 
NoWriterDateCnt.TitleFile(s)
43정성태12/28/200410179VSMT 소개: Physical Server to Virtual Server
68정성태3/2/200510168    답변글 [추가]: VSMT 소개: ADS 1.0
42정성태12/27/20049531VS.NET 2005 : What should I do if I get a message that says, "Team system server is not available; please contact your system administrator."?
41정성태12/25/20049974Ten things to know before starting VSTS Foundation Server Installation
40정성태12/25/20049829SQL Server 2005 에서 반가운 기능 : 재귀 SELECT 와 ROW_NUMBER
39정성태12/24/20049036VS.NET 2005 : Navigate the .NET Framework and Your Projects with "My"파일 다운로드1
38정성태12/24/20049106Smart Client Architecture and Design Guide
37정성태12/24/20049708Translation Guide: Moving Your Programs from Managed Extensions for C++ to C++/CLI
36정성태12/23/2004941113가지 주의 사항: Visual C++ .NET 프로그램을 Visual Studio 2005로 이식하기 전에 알아야 할 13가지 내용
35정성태12/26/20049869Windows Sharepoint Services 를 설치한 이후 ASP.NET 오류 문제파일 다운로드1
34정성태12/9/200410040SQL Server 구성이 실패파일 다운로드1
33정성태12/7/20049908RSS 에 대한 자세한 설명
32정성태12/5/20049634How To Troubleshoot MS DTC Firewall Issues
31정성태12/5/20049394HOWTO: Enable DTC Between Web Servers and SQL Servers Running Windows Server 2003
29정성태12/4/20049438IP 변경하는 NETSH 명령
28정성태11/20/20049621혼합 DLL 로드 문제
27정성태11/20/20049363Web Services Enhancements 2.0을 사용한 프로그래밍
26정성태11/20/20049771SQL 주입 공격을 사전에 차단하는 방법
25정성태10/20/20049389Invoking .NET Events from Native C++
24정성태10/16/20048785Windows Rights Management 서비스(RMS) 1.0
23정성태10/16/20049518[ASP.NET] Working with Client-Side Script
21정성태10/3/20049592HOWTO: ASP.NET 유틸리티를 사용하여 자격 증명 및 세션 상태 연결 문자열 암호화
20정성태10/3/20049550IE 에서 XML 파일을 보는 경우, XMLDocument 를 얻어내는 방법.
22정성태10/3/200410287    답변글 [내용 보강] .NET 언어에서 IE에 보여진 XMLDocument 개체 접근하기
19정성태10/3/20049259.NET 리모팅에서 MBR 개체를 전송하는 경우의 xxx.exe.config 파일 설정방법
18정성태9/19/200410004HTML SELECT 요소에 OPTION 요소를 채우는 C/C++ 예제파일 다운로드1
... [46]  47