将配置文件添加到构建中 [英] Adding a config file to the build

查看:105
本文介绍了将配置文件添加到构建中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我有一个配置文件,该文件位于源代码管理&也存在于工作文件夹中,但是当我执行MSBuild时,它不会显示在版本中.

我需要弄清楚为什么它不在版本中,或者以某种方式手动将其插入到版本库中.通过在buildprojects配置文件中添加一条语句进行构建.

感谢对此


@ nt

Hi,

I have a config file which is on source control & is also present in the working folder but when I do an MSBuild it doesn't show up in the build.

I need to either work out why it's not in the build or somehow manually force it into the build by adding a statement in the buildprojects config file.

Thanks for any help on this


@nt

推荐答案

在Visual Studio中打开项目时,您是否看到它显示在该项目下的解决方案资源管理器中?如果没有,则需要将其添加到项目中.
When you open the project in Visual Studio do you see it show up in the Solution Explorer under the project? If not then it needs to be added to the project.


这篇关于将配置文件添加到构建中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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