TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Member1
NA
169
51k
how to edit values of app.config file ?
Oct 21 2015 4:25 AM
I have two windows application project says "A" and "B" in same solution. I already sets all key values in app.config file of "A" . Now I got requirement that I have to make one exe says winform contaings textboxes where I have to set all key values for app.config file of "A" . this exe is my project "B". now i tried many ways to get access of config file of project A . but i failed. I also tried with "ConfigurationManager.OpenExeConfiguration(path)" but here needs file path which i could not put hardcoded. I am restricted to put any hardcoded paths.
note: I created setup project and added both projects output so that both projects exes and app.config of "A" will be in same folder so that its easy to locate file.
Is there any way to achieve this.
Please suggest me ,
Thanks to everyone.
Reply
Answers (
1
)
Lambda expression and anonymous method in c#
snapshot of active screen