Microsoft MVP성태의 닷넷 이야기
글쓴 사람
정성태 (techsharer at outlook.com)
홈페이지
첨부 파일
 

웹 프로젝트의 Web.debug.config / Web.Release.config 기능을 일반 프로젝트에 적용하는 방법

Visual Studio 2010 에 적용된 기능 중에 XDT 라는 재미있는 기능이 있습니다.

Web.config Transformation Syntax for Web Application Project Deployment
; http://msdn.microsoft.com/en-us/library/dd465326.aspx

Web Deployment: Web.Config Transformation
 - Step 1: Creating a “Staging” Configuration on your developer box 
 - Step 2: Adding a “Staging” Web.Config Transform file to your project 
 - Step 3: Writing simple transforms to change developer box connection string settings into “Staging” environment settings 
 - Step 4: Generating a new transformed web.config file for “Staging” environment from command line 
 - Step 5: Generating a new transformed web.config file for “Staging” environment from VS UI 
 - Step 6: Understanding various available web.config Transforms and Locators 
 - Step 7: Using Web.config transformation toolset for config files in sub-folders within the project 
; http://vishaljoshi.blogspot.com/2009/03/web-deployment-webconfig-transformation_23.html

상당히 유용한 기능인데, 아쉬운 것은 웹 애플리케이션 프로젝트(Web Application Projects: WAP)의 web.config에만 적용된다는 제한이 있습니다. (개인적으로 쓸데없는 제한을 둔 거라고 봅니다.)

이러한 제약을 약간(?)의 수작업을 통해서 일반적인 app.config 과 그 외의 기타 파일들에 동일한 관리 기능을 부여할 수 있는 방법을 다음의 글에서 친절하게 설명해 주고 있습니다.

XDT (web.config) Transforms in non-web projects
; http://blogs.msdn.com/b/webdevtools/archive/2010/11/17/xdt-web-config-transforms-in-non-web-projects.aspx







[최초 등록일: ]
[최종 수정일: 12/24/2010]


비밀번호

댓글 작성자
 




... 16  17  18  19  20  21  22  23  24  25  26  27  [28]  29  30  ...
NoWriterDateCnt.TitleFile(s)
500정성태11/2/20069609TFS : 50. TfsAlert 0.3.0.0 릴리스
499정성태11/2/200610198개발 환경 구성: 50. VS.NET, .NET Framework QFE 패치
498정성태11/4/20069724TFS : 49. Team Foundation Administrator's Guide 문서 업데이트
497정성태11/1/20069674개발 환경 구성: 49. IE 7 의 "Search Provider" 기능 소개
496정성태11/4/20069202.NET : 26. Download the New Composite UI Application Block Reference Application from IdeaBlade
495정성태11/1/20069285개발 환경 구성: 48. XamlPadX (extended)
494정성태11/1/200610140TFS : 48. SandCastle Team Build targets 파일파일 다운로드1
493정성태10/31/20069419VS.NET IDE : 12. [Orcas] TreeDiff 지원
492정성태10/31/20069954개발 환경 구성: 47. SandCastle 과 NAnt 의 결합
491정성태10/28/200610094SDK : 4. PE/COFF 스펙
490정성태11/4/200613878.NET : 25. C# "const" 키워드와 "static readonly"의 차이
489정성태10/28/200610393Visual C++ : 4. VC++ 8.0 override 키워드 이해 [1]
488정성태10/26/20069816TFS : 47. TFS Application Tier 로부터 Sharepoint 분리해서 설치하는 방법
487정성태10/26/200610079TFS : 46. Project Server 2003 - Team Foundation connector released
486정성태10/25/20069255개발 환경 구성: 46. VS.NET Addin - 디렉터리 단위로 링크 방식으로 파일 추가
485정성태10/23/20069893.NET 3.0 : 5. WinFX (.NET 3.0) Series Presentation Slides
484정성태10/20/20069555개발 환경 구성: 45. Microsoft Best Practices Analyzer 1.0
483정성태10/20/20069328.NET 3.0 : 4. HostNameComparisonMode 의 이해
482정성태10/29/20069718TFS : 45. TeamPlain 1.1 now available
481정성태10/19/20069765TFS : 44. Project Server 2003 and Visual Studio Team System 2005 connector available!
480정성태10/19/20069590개발 환경 구성: 44. IE 7 에 포함된 RSS Platform MiniSDK파일 다운로드1
479정성태10/18/200610191x64 : 2. dynamic_cast is slow in x64
478정성태10/18/20069901개발 환경 구성: 43. IE 7 에서 달라지는 Accept-Language 헤더
477정성태10/18/20069771.NET : 24. ADO.Net 성능 향상 팁
476정성태10/18/200610933TFS : 43. WorkItem 항목 삭제
475정성태11/8/200610024개발 환경 구성: 42. VHD 파일을 가상 하드 디스크로 설정하는 방법파일 다운로드1
... 16  17  18  19  20  21  22  23  24  25  26  27  [28]  29  30  ...