如何在Visual Studio的构建中包括特定的文件夹 [英] How to include specific folders on build with visual studio
本文介绍了如何在Visual Studio的构建中包括特定的文件夹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想在Visual Studio中包含一个文件夹.该文件夹包含我的.sqlite文件,而我的exe文件需要它.我想知道在Visual Studio的哪个位置可以选择要包含在内部版本中的文件夹.
I want to include a folder with the build in visual studio. This folder contains my .sqlite file and I need it with my exe file. I was wondering where in visual studio I can select the folders I want to include with the build.
推荐答案
- 显示所有文件
- 右键单击文件->包含在项目中
- 右键单击文件->属性
- 将复制到输出目录"设置为始终复制"
- show all file
- right click on the file -> include in project
- right click on the file -> property
- set "Copy to output directory" as "Copy Always"
这篇关于如何在Visual Studio的构建中包括特定的文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文