右键单击Setup项目,选择 View 菜单,然后选择文件系统.您可以在其中定义要安装的文件和文件夹.I am working on a C# application. Inside this program it looks through a directory and uses files in the same directory containing the exe files in the debug folder. I added a setup project, for deployment, to the solution for the application. I tend to be naive and figured I could just drop the files and folders into the installation folder after I install it on another computer. I know there is a way to add these files and folders to the projects and set it up to have the installer install these files at the time of installation. 解决方案 I assume you are working with Visual Studio 2010, and using Visual Studio Installer Setup Project to create an MSI output file.Right click on the Setup project, select View menu, and select File System.In there you are able to define files and folders to be installed. 这篇关于如何在Visual Studio C#项目的部署中包括文件和文件夹?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 1403页,肝出来的.. 09-06 18:12