What happened to the context menu in my console application?

只谈情不闲聊 提交于 2019-12-31 03:01:04

问题


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?


回答1:


Context menu doesn't show up when you right click on the console app body (not the title bar) when VS debugger is attached.




回答2:


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)



来源:https://stackoverflow.com/questions/1060240/what-happened-to-the-context-menu-in-my-console-application

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!