Plugin packaging, DLL file lost

HI, I am doing some plugins development work. I added the following code to MyPlugin.Build.cs, which ensures that when I package the project, the DLL files in the plugin are automatically copied to the Windows/MyProject/Binaries/Win64 folder, this is great.

However, when I select the Plugins, Package in the UE5 editor, the DLL files are not automatically copied (I have to manually copy the DLL files). Can anyone tell me how to do it?

image