This NuGet package simply adds a PostBuildEvent that copies the App.config file located in the project directory to the output directory and with the name of the created executable/dll.
joseangelmt/CopyAppConfigToOutputDirectory
Nuget package that copy App.Config files to the output directory in C++ projects