'Is there a way to exclude document files from the installation folder for vb.net project?

I have created a windows form application using vb.net 2019, and everything seems fine until I found out that an .xml document which contains confidential files like username and password appeared in the installation folder. With this file accessible for everybody, my project mean just nothing! Is there a way to fix this problem? Regards!



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source