I added the App.config to my class library project, but in the 'Publish' page of main application project, I couldn't find the classLibrary1.dll.config. Who knows how to publish this file? Thanks