如何在Visual Studio的构建中包括特定的文件夹 [英] How to include specific folders on build with visual studio

查看:109
本文介绍了如何在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.

推荐答案

  1. 显示所有文件
  2. 右键单击文件->包含在项目中
  3. 右键单击文件->属性
  4. 将复制到输出目录"设置为始终复制"
  1. show all file
  2. right click on the file -> include in project
  3. right click on the file -> property
  4. set "Copy to output directory" as "Copy Always"

这篇关于如何在Visual Studio的构建中包括特定的文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆