c# - Accessing another project's settings file -


is there way access settings file different project? example, have solution contains 2 projects (lets call them proj1 , proj2). want access application settings of proj2 program.cs in proj1. possible?

option : parse values out of other assembly's configuration file (where settings stored)

option b : create public class in proj2 exposes necessary values settings static properties, reference assembly in proj1 , consume values class.

option c : if want expose settings, can modify access of settings class internal public.

i'm sure there other ways well.


Comments

Popular posts from this blog

Fail to load namespace Spring Security http://www.springframework.org/security/tags -

sql - MySQL query optimization using coalesce -

unity3d - Unity local avoidance in user created world -