How to override settings.settings variable by app.config variable

前端 未结 5 1782
攒了一身酷
攒了一身酷 2021-01-18 04:32

How can I change (or override) a settings.settings variable by adding a variable to the app.config on production?

Is this possible anyway?

5条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-01-18 04:59

    You have to directly reference the applicationSettings you're trying to override and explicitly specify the property that has a replaced value.

    
      
      
        
        
          
          
    new string value

提交回复
热议问题