c# - Why do i get this app.config related error when i try to acess EF from console application? -
here simple project structure - idea acess entity information in console application sln - data access layer (entity framework , metadata) , repository - service layer list of items in each entity - console project access service layer am using windsor castle , code in console is static void main(string[] args) { // registering var container = new windsorcontainer(); container.register(component.for<irefrepository>().implementedby<refrepository>()); container.register(component.for<ireflservice>().implementedby<refservice>()); container.register(component.for<refentities>()); // resolving var list = container.resolve<irefservice>(); list.getcountries(); } i getting following error on var list = container.resolve(); the specified named connection either not found in configuration, not intended used entityclient provider, or not valid. my app.config generated ef in data access laye...