Microsoft MVP성태의 닷넷 이야기
Team Foundation Server: 18. Team Build에 사용되는 각종 Property 값 [링크 복사], [링크+제목 복사]
조회: 22099
글쓴 사람
정성태 (techsharer at outlook.com)
홈페이지
첨부 파일
 
(연관된 글이 4개 있습니다.)

Team Build에 사용되는 각종 Property 값


값들은 아래와 같습니다.

MSBuildProjectFile = TFSBuild.proj
MSBuildProjectExtension = .proj
MSBuildProjectDirectory = C:\Work\TestSolution\TestTeamProjectName\TeamBuildType_Debug_x86\BuildType

BinariesRoot = C:\Work\TestSolution\TestTeamProjectName\TeamBuildType_Debug_x86\BuildType\..\Sources\..\Binaries
SolutionRoot = C:\Work\TestSolution\TestTeamProjectName\TeamBuildType_Debug_x86\BuildType\..\Sources
TestResultsRoot = C:\Work\TestSolution\TestTeamProjectName\TeamBuildType_Debug_x86\BuildType\..\Sources\..\TestResults
TeamBuildRefPath = C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies
DevEnvDir = \..\..\Common7\IDE
WorkspaceName = TestTeamServer_TestTeamProjectName_TeamBuildType_Debug_x86
OutDirForCompile.FullPath = C:\Work\TestSolution\TestTeamProjectName\TeamBuildType_Debug_x86\Binaries\Win32\Debug\
ConfigurationToBuild.PlatformToBuild = Win32
ConfigurationToBuild.FlavorToBuild = Debug

TeamFoundationServerUrl=http://TestTeamServer:8080/
TeamProject=TestTeamProjectName
BuildType=TeamBuildType_Debug_x86
BuildURI=vstfs:///Build/Build/06212007_040643_14062
BuildNumber=TeamBuildType_Debug_x86_20070621.9
DropLocation=\\TestTeamServer\Test_Debug_Build
BuildDirectory=C:\Work\TestSolution

OutDir = C:\Work\TestSolution\TestTeamProjectName\TeamBuildType_Debug_x86\Binaries\Win32\Debug\
ReferencePath = C:\Work\TestSolution\TestTeamProjectName\TeamBuildType_Debug_x86\Binaries\Win32\Debug\
SearchPathRoot = 
WorkItemTitle = Build failure in build:
BuildlogText = The build log file is at:
ErrorWarningLogText = The errors/warnings log file is at:
WorkItemDescription = 

각각 다음의 Message Task를 통해서 구한 값입니다.

<Message Text="MSBuildProjectFile = $(MSBuildProjectFile)" />
<Message Text="MSBuildProjectExtension = $(MSBuildProjectExtension)" />
<Message Text="MSBuildProjectDirectory = $(MSBuildProjectDirectory)" />

<Message Text="" />

<Message Text="BinariesRoot = $(BinariesRoot)" />
<Message Text="SolutionRoot = $(SolutionRoot)" />
<Message Text="TestResultsRoot = $(TestResultsRoot)" />
<Message Text="TeamBuildRefPath = $(TeamBuildRefPath)" />
<Message Text="DevEnvDir = $(DevEnvDir)" />
<Message Text="WorkspaceName = $(WorkspaceName)" />
<Message Text="OutDirForCompile.FullPath = %(OutDirForCompile.FullPath)" />
<Message Text="ConfigurationToBuild.PlatformToBuild = %(ConfigurationToBuild.PlatformToBuild)" />
<Message Text="ConfigurationToBuild.FlavorToBuild = %(ConfigurationToBuild.FlavorToBuild)" />

<Message Text="" />

<Message Text="TeamFoundationServerUrl=$(TeamFoundationServerUrl)" />
<Message Text="TeamProject=$(TeamProject)"  />
<Message Text="BuildType=$(BuildType)"  />
<Message Text="BuildURI=$(BuildURI)"  />
<Message Text="BuildNumber=$(BuildNumber)"  />
<Message Text="DropLocation=$(DropLocation)"  />
<Message Text="BuildDirectory=$(BuildDirectoryPath)"  />

<Message Text="" />

<Message Text="OutDir = $(OutDir)" />
<Message Text="ReferencePath = $(ReferencePath)" />
<Message Text="SearchPathRoot = $(SearchPathRoot)" />
<Message Text="WorkItemTitle = $(WorkItemTitle)" />
<Message Text="BuildlogText = $(BuildlogText)" />
<Message Text="ErrorWarningLogText = $(ErrorWarningLogText)" />
<Message Text="WorkItemDescription = $(WorkItemDescription)" />



[이 토픽에 대해서 여러분들과 의견을 공유하고 싶습니다. 틀리거나 미흡한 부분 또는 의문 사항이 있으시면 언제든 댓글 남겨주십시오.]

[연관 글]






[최초 등록일: ]
[최종 수정일: 6/18/2021]

Creative Commons License
이 저작물은 크리에이티브 커먼즈 코리아 저작자표시-비영리-변경금지 2.0 대한민국 라이센스에 따라 이용하실 수 있습니다.
by SeongTae Jeong, mailto:techsharer at outlook.com

비밀번호

댓글 작성자
 



2007-07-25 10시50분
다음의 토픽에서도 유용한 속성값들을 소개해 주고 있습니다.

30 Useful Team Build Properties
; http://www.woodwardweb.com/vsts/000374.html
kevin25
2008-02-12 07시23분
kevin25
2011-06-23 10시36분
참고로, Property 값에 닷넷 코드를 이용하여 지정하는 것도 가능합니다.

MSBuild 4.0 Property Functions
; https://devblogs.microsoft.com/visualstudio/msbuild-property-functions/
정성태
2019-05-22 09시07분
예전 버전의 msbuild에는 MSBUILDENABLEALLPROPERTYFUNCTIONS 환경 변수를 통해 Property에 지정된 값을 함수 호출로 번역하게 만드는 것이 가능했군요. ^^;

caseysmithrc/poc.png - MSBuild - Property functions
; https://gist.github.com/caseysmithrc/6f7ea170f2efbc5c94bc0f2a926c24e6
정성태

1  2  3  4  5  6  [7]  8  9  10  11  12  13  14  15  ...
NoWriterDateCnt.TitleFile(s)
13451정성태11/21/20232432닷넷: 2165. C# - Azure OpenAI API를 이용해 ChatGPT처럼 동작하는 콘솔 응용 프로그램 제작파일 다운로드1
13450정성태11/21/20232256닷넷: 2164. C# - Octokit을 이용한 GitHub Issue 검색파일 다운로드1
13449정성태11/21/20232354개발 환경 구성: 688. Azure OpenAI 서비스 신청 방법
13448정성태11/20/20232631닷넷: 2163. .NET 8 - Dynamic PGO를 결합한 성능 향상파일 다운로드1
13447정성태11/16/20232488닷넷: 2162. ASP.NET Core 웹 사이트의 SSL 설정을 코드로 하는 방법
13446정성태11/16/20232420닷넷: 2161. .NET Conf 2023 - Day 1 Blazor 개요 정리
13445정성태11/15/20232730Linux: 62. 리눅스/WSL에서 CA 인증서를 저장하는 방법
13444정성태11/15/20232461닷넷: 2160. C# 12 - Experimental 특성 지원
13443정성태11/14/20232517개발 환경 구성: 687. OpenSSL로 생성한 사용자 인증서를 ASP.NET Core 웹 사이트에 적용하는 방법
13442정성태11/13/20232338개발 환경 구성: 686. 비주얼 스튜디오로 실행한 ASP.NET Core 사이트를 WSL 2 인스턴스에서 https로 접속하는 방법
13441정성태11/12/20232661닷넷: 2159. C# - ASP.NET Core 프로젝트에서 서버 Socket을 직접 생성하는 방법파일 다운로드1
13440정성태11/11/20232355Windows: 253. 소켓 Listen 시 방화벽의 Public/Private 제어 기능이 비활성화된 경우
13439정성태11/10/20232867닷넷: 2158. C# - 소켓 포트를 미리 시스템에 등록/예약해 사용하는 방법(Port Exclusion Ranges)파일 다운로드1
13438정성태11/9/20232467닷넷: 2157. C# - WinRT 기능을 이용해 윈도우에서 실행 중인 Media App 제어
13437정성태11/8/20232663닷넷: 2156. .NET 7 이상의 콘솔 프로그램을 (dockerfile 없이) 로컬 docker에 배포하는 방법
13436정성태11/7/20232904닷넷: 2155. C# - .NET 8 런타임부터 (Reflection 없이) 특성을 이용해 public이 아닌 멤버 호출 가능
13435정성태11/6/20232837닷넷: 2154. C# - 네이티브 자원을 포함한 관리 개체(예: 스레드)의 GC 정리
13434정성태11/1/20232631스크립트: 62. 파이썬 - class의 정적 함수를 동적으로 교체
13433정성태11/1/20232357스크립트: 61. 파이썬 - 함수 오버로딩 미지원
13432정성태10/31/20232408오류 유형: 878. 탐색기의 WSL 디렉터리 접근 시 "Attempt to access invalid address." 오류 발생
13431정성태10/31/20232724스크립트: 60. 파이썬 - 비동기 FastAPI 앱을 gunicorn으로 호스팅
13430정성태10/30/20232616닷넷: 2153. C# - 사용자가 빌드한 ICU dll 파일을 사용하는 방법
13429정성태10/27/20232871닷넷: 2152. Win32 Interop - C/C++ DLL로부터 이중 포인터 버퍼를 C#으로 받는 예제파일 다운로드1
13428정성태10/25/20232931닷넷: 2151. C# 12 - ref readonly 매개변수
13427정성태10/18/20233114닷넷: 2150. C# 12 - 정적 문맥에서 인스턴스 멤버에 대한 nameof 접근 허용(Allow nameof to always access instance members from static context)
13426정성태10/13/20233287스크립트: 59. 파이썬 - 비동기 호출 함수(run_until_complete, run_in_executor, create_task, run_in_threadpool)
1  2  3  4  5  6  [7]  8  9  10  11  12  13  14  15  ...