我的控制台应用程序中的上下文菜单发生了什么?
正在创建一个简单的控制台应用程序来进行一些原型设计,并惊讶地发现标准 .NET 控制台应用程序中缺少右键单击/上下文菜单!
我无法找到任何有关此的信息,智能感知也没有帮助。
那么到底是怎么回事呢? 我可以拿回来吗? 如果没有,我如何配置我的控制台应用程序以将 ctrl-c/ctrl-v 视为标准?
Was creating a simple console application to do some prototyping and was shocked to see that the right-click/context menu is missing from a standard .NET console app!
I'm unable to find any information about this, and intellisense isn't helping.
So what happened to it? Can I get it back? And if not, how can I configure my console application to treat ctrl-c/ctrl-v as standard?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
这是 Windows 控制台设置的事情。 右键单击应用程序的任务栏,单击属性并选中/取消选中快速编辑模式。
另外,没有办法让 Ctr-C Ctrl-V 在控制台应用程序中工作(据我所知)
This is a windows console settings thing. Right click on the task bar of the app, click Properties and check / uncheck quick edit mode.
Also there is no way to get Ctr-C Ctrl-V working in console apps (as far as I know)
连接 VS 调试器时,右键单击控制台应用程序主体(而不是标题栏)时,不会显示上下文菜单。
Context menu doesn't show up when you right click on the console app body (not the title bar) when VS debugger is attached.