I am using VS 2022 with all updates and version is Version 17.11.5. Go to Tools > Options > Text Editor > C# > Advanced and then look for "Add missing using directives on paste"