.NET different application settings for development and release

前端 未结 7 1085
慢半拍i
慢半拍i 2021-01-18 04:06

I am using VS2010 C#.NET 3.5 and application settings (the Settings.settings file). What I want to do is have different settings for my development and production environmen

7条回答
  •  太阳男子
    2021-01-18 04:30

    we use a NAnt script to build our solution, replace setting values in the config file, run tests and publish.

    It's fairly straight forward once you've set it up once or twice.

提交回复
热议问题