问题描述
我希望能够在项目配置中使用自定义调试设置将vcproj文件分发给客户.
似乎,每当我在项目的属性"对话框中设置字段时,所做的更改都会保存到一些新的不可移植的文件中".user"文件,而不是在".vcproj"文件中.
例如,如果我这样做:
- 打开MyProject.vcproj
- 转到:项目>属性>配置属性>调试
- 填写命令"和命令参数"领域
- 保存MyProject.vcproj
然后,我的更改不会反映在MyProject.vcproj中,而是反映在名为MyProject.vcproj.$ HOSTNAME.$ USER.user
的一些新文件中.有没有办法将这些更改保留在MyProject.vcproj中,以便可以在其他计算机上使用.
谢谢,
-Stu
I want to be able to distribute vcproj files to customers with custom debug settings in the project configuration.
It seems that whenever I set the fields in the project's Properties dialog, the changes are saved into some new non-portable ".user" file, and not in the ".vcproj".
For example, if I do:
- Open MyProject.vcproj
- Go to: Project > Properties > Configuration Properties > Debugging
- Fill out the "Command" and "Command Arguments" fields
- Save MyProject.vcproj
then my changes aren't reflected in MyProject.vcproj, but in some new file called MyProject.vcproj.$HOSTNAME.$USER.user
Is there a way to keep these changes in MyProject.vcproj so that they may be used on other machines.
Thanks,
- Stu
这篇关于vcproj:如何将调试设置保存到便携式vcproject中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!