I have separate controller classes for accessing the ServiceLayer Componentlayer. Each controller class simply has a shared method that returns the necessary information from within the servicelayers. Previously I have kept these under the GUI project in a separate folder. It has come to the point that I need to move these into their own assembly for access from some windows custom controls I am writing. Basically I want all the functionality hidden in the controls. So I have 3 projects(not counting nettiers)
GUI
Controls
Controllers
GUI had the app.config and entlib.config files. When I had the controllers inside that project everything was working fine. Now that I have moved them out to their own project, I am getting nullreference exceptions. I am sure this is being caused by the app.config files not generating properly now, but I am not really sure how to fix this so that the controllers are controlling access to the datalayer as they should be.