Microsoft MVP성태의 닷넷 이야기
TFS : 48. SandCastle Team Build targets 파일 [링크 복사], [링크+제목 복사]
조회: 10087
글쓴 사람
정성태 (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)
500정성태11/2/20069570TFS : 50. TfsAlert 0.3.0.0 릴리스
499정성태11/2/200610154개발 환경 구성: 50. VS.NET, .NET Framework QFE 패치
498정성태11/4/20069682TFS : 49. Team Foundation Administrator's Guide 문서 업데이트
497정성태11/1/20069638개발 환경 구성: 49. IE 7 의 "Search Provider" 기능 소개
496정성태11/4/20069154.NET : 26. Download the New Composite UI Application Block Reference Application from IdeaBlade
495정성태11/1/20069235개발 환경 구성: 48. XamlPadX (extended)
494정성태11/1/200610087TFS : 48. SandCastle Team Build targets 파일파일 다운로드1
493정성태10/31/20069367VS.NET IDE : 12. [Orcas] TreeDiff 지원
492정성태10/31/20069903개발 환경 구성: 47. SandCastle 과 NAnt 의 결합
491정성태10/28/200610057SDK : 4. PE/COFF 스펙
490정성태11/4/200613813.NET : 25. C# "const" 키워드와 "static readonly"의 차이
489정성태10/28/200610352Visual C++ : 4. VC++ 8.0 override 키워드 이해 [1]
488정성태10/26/20069769TFS : 47. TFS Application Tier 로부터 Sharepoint 분리해서 설치하는 방법
487정성태10/26/200610034TFS : 46. Project Server 2003 - Team Foundation connector released
486정성태10/25/20069226개발 환경 구성: 46. VS.NET Addin - 디렉터리 단위로 링크 방식으로 파일 추가
485정성태10/23/20069849.NET 3.0 : 5. WinFX (.NET 3.0) Series Presentation Slides
484정성태10/20/20069491개발 환경 구성: 45. Microsoft Best Practices Analyzer 1.0
483정성태10/20/20069281.NET 3.0 : 4. HostNameComparisonMode 의 이해
482정성태10/29/20069646TFS : 45. TeamPlain 1.1 now available
481정성태10/19/20069694TFS : 44. Project Server 2003 and Visual Studio Team System 2005 connector available!
480정성태10/19/20069509개발 환경 구성: 44. IE 7 에 포함된 RSS Platform MiniSDK파일 다운로드1
479정성태10/18/200610093x64 : 2. dynamic_cast is slow in x64
478정성태10/18/20069800개발 환경 구성: 43. IE 7 에서 달라지는 Accept-Language 헤더
477정성태10/18/20069677.NET : 24. ADO.Net 성능 향상 팁
476정성태10/18/200610825TFS : 43. WorkItem 항목 삭제
475정성태11/8/20069909개발 환경 구성: 42. VHD 파일을 가상 하드 디스크로 설정하는 방법파일 다운로드1
... 16  17  18  19  20  21  22  23  24  25  26  27  [28]  29  30  ...