Managing A Debug and Release Connection String

前端 未结 9 1316
北海茫月
北海茫月 2021-01-30 18:41

What is a good approach to managing a debug and release connection string in a .NET / SQLServer application?

I have two SQL Servers, a production and a build/debug and I

9条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-01-30 19:22

    I can say other solution for this issue. In csproj file file create folow:

    
      Designer
    
        
      DB.config
      Designer
    
        
      DB.config
      Designer
    
    

    In xml written set the two version for release and debug.

提交回复
热议问题