Visual Studio 2005 项目选项
我在 Visual Studio 2005(专业版)中有一个解决方案,它有 8 个项目。我面临一个问题,即使我在相关项目的项目设置中设置了命令参数,它也不接受这些命令行参数,并且它显示 argc = 1,尽管我给出了超过 1 个命令参数。 尝试将此解决方案的设置与工作解决方案类似,但没有成功。 有什么指点吗?
-阿吉特。
I have a solution in Visual Studio 2005(professional Edition) which in turn has 8 projects.I am facing a problem that even after i set the Command Arguments in the Project settings of the relevant project, it doesnt accept those command line arguments and it shows argc = 1, inspite of me giving more than 1 command arguments. Tried making the settings of this Solution similar to a working solution, but no success.
Any pointers?
-Ajit.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
嗯..您确定将指定的项目设置为启动项目(右键>设置为启动项目)吗?
哦,显然你需要处于正确的配置模式^_^
(注意它可以更改为调试|构建|所有配置)
Hmm.. Are you sure the specified project is set as the start project (right click > set as startup project) ??
Oh, and obviously you need to be in the correct configuration mode ^_^
(Notice it can be changed to debug | build | all configurations )
您确定正在调试的同一配置(调试|发布)上设置命令参数吗? 据我记得命令参数是每个配置的。
Are you sure you are setting the command arguments on the same configuration (Debug|Release) you are debugging? As far as I remember command arguments are per configuration.