There is a better answer in the following post:
Visual Studio/MSBuild copy referenced class library's app.config as *.dll.config to bin folder of current project
// Add this at the end of your .csproj file before and after
$(TargetName).dll.config
PreserveNewest