.NET Configuration (app.config/web.config/settings.settings)

后端 未结 13 1271
广开言路
广开言路 2020-11-29 14:41

I have a .NET application which has different configuration files for Debug and Release builds. E.g. the debug app.config file points to a development SQL Server which has d

13条回答
  •  借酒劲吻你
    2020-11-29 15:23

    From what I am reading, it sounds like you are using Visual Studio for your build process. Have you thought about using MSBuild and Nant instead?

    Nant's xml syntax is a little weird but once you understand it, doing what you mentioned becomes pretty trivial.

    
        
    
        
            
        
    
        
            
        
    
        
            
        
    
    
    

提交回复
热议问题