How to include files and folders in a visual studio deployment, C # project?

I am working on a C # application. Inside this program, it scans the directory and uses the files in the same directory that contains the exe files in the debug folder. I have added a deployment installation project to the solution for the application. I tend to be naive and figured that I can simply drop files and folders into the installation folder after installing on another computer. I know that there is a way to add these files and folders to projects and install it so that the installer installs these files during installation.

+4
source share
1 answer

I assume that you are working with Visual Studio 2010 and using the Visual Studio Setup Project installer to create the MSI output file.

Right-click the installation project, select View and select File System .
There you can specify the files and folders to install.

+2
source

Source: https://habr.com/ru/post/1488117/


All Articles