Complete the following steps to change a dynamic VI into static:
- Open the dynamic VI which you want to change.
- Right click on the Class In terminal and select This Connection Is>>Required as shown below.
- Change the Class Out terminal into Recommended or Optional similar to Step 2.

If the class is going to be part of a dll or executable, you must make the VIs static if you do not want them to be included in a separate support folder.
Additional Information
Vice versa for the VI changing from static to dynamic dispatch.