c# - How to Choose Application Configuration File Save Location? -
in visual studio 2013/2015, when compile program exe saves config file \bin\ folder.
when move program exe location c:\program files\ , run it, saves config file %appdata% \appdata\local\.
using c# or visual studio settings, how tell exe save config file current folder , not %appdata%?
i want make program portable , not use %appdata%.
\bin\ folder
appdata folder
you can change output path of build ...
go project properties >> build tab >> under output section can change output path of build, creates build @ 1 place files , make portable



Comments
Post a Comment