Plugin assembly

How to build a dll file in JUCE 7? That is, a plugin that needs to be downloaded? I have not found detailed instructions anywhere, and VS 2022 does not automatically collect the file.