开发者

Is there a way to use the Visual Studio Configuration Manager to pull configuration files out of an env folder?

开发者 https://www.devze.com 2023-02-28 03:44 出处:网络
I use a project structure t开发者_C百科hat has an env folder with various folders under it for different environments.For example, under a web project that has a log4net configuration, the following p

I use a project structure t开发者_C百科hat has an env folder with various folders under it for different environments. For example, under a web project that has a log4net configuration, the following paths would exist:

  • {project root}\env\dev\log4net.config
  • {project root}\env\qa\log4net.config

I know that web config transforms are an option, but is there a way to use the Visual Studio configuration manager to pull these files into the {project root} depending on a specified configuration?


I think this is what you are looking for:

http://msdn.microsoft.com/en-us/library/ms224437.aspx

0

精彩评论

暂无评论...
验证码 换一张
取 消