I have a .Net Core Console App file that uses .config file.
These is "Copy if needed" option selected in .config properties and ExcludeFromSingleFile=true c