App.Config Transformation for projects which are not Web Projects in Visual Studio?

后端 未结 14 2693
走了就别回头了
走了就别回头了 2020-11-22 04:06

For Visual Studio 2010 Web based application we have Config Transformation features by which we can maintain multiple configuration files for different environments. But the

14条回答
  •  孤城傲影
    2020-11-22 04:18

    If you use a TFS online(Cloud version) and you want to transform the App.Config in a project, you can do the following without installing any extra tools. From VS => Unload the project => Edit project file => Go to the bottom of the file and add the following:

    
    
    
    

    AssemblyFile and Destination works for local use and TFS online(Cloud) server.

提交回复
热议问题