I am building a modular project and am looking for the best way to enable us to build multiple skews of this product for different customers. It needs be to done inside the build process so as not to allow the customer to change the value in a config file to enable a module.
My best guess would be some kind of set of environment variables associated with a specific build.
Any advice?
Are modules in separate dlls? The two approaches I can think of are: