How do I duplicate the line my cursor is on in Visual Studio 2022.
In VS 2017 and 2019, it was Ctrl + D
.
But that command is not working in VS 2022.
Ctrl+D should work
Maybe you have different keys assigned, or an extension is using it.
Have a look at your Keyboard settings