Here is some more good background on app.config files, how they are used and how they cannot be eliminated. There is actually no way to eliminate them. If you ship an exe without an app.config the EXE will create one the first time it is run.
The short article has two links to more detailed information from the Microsoft docs.
Note that the question asked is similar to yours and it was asked 11 years ago. Your question is not new and has been a normal issue for new programmers in Windows.
https://stackoverflow.com/questions/217 ... difference
As Alex has pointed out, the idea of a single application file is ancient and no operating system I know of today actually defaults to a single file although self-generation of configurations has been provided so a single EXE can be delivered but the config file will still be generated.
If you do not use teh Net Framework (actually the CLR) then single file executables can be built. This also would not allow you to build WinForms apps although you can still use the Win32 API. Utility apps distributed on the Web that claim single file deployment are created using the Win32 API.
Good luck.
dgv cell click setting column header selection state
Forum rules
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Re: dgv cell click setting column header selection state
Thanks for the response, totally understand. Cheers