# Post-build command on VST3, but not SharedCode

**URL:** <https://forum.juce.com/t/post-build-command-on-vst3-but-not-sharedcode/34893>\
**Category:** The Projucer\
**Created:** [August 21, 2019, 12:12pm UTC](https://forum.juce.com/t/post-build-command-on-vst3-but-not-sharedcode/34893 "2019-08-21T12:12:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ssaue](https://avatars.discourse-cdn.com/v4/letter/s/848f3c/32.png) [@ssaue](https://forum.juce.com/u/ssaue)\
**Post date:** [August 21, 2019, 12:12pm UTC](https://forum.juce.com/t/post-build-command-on-vst3-but-not-sharedcode/34893/1 "2019-08-21T12:12:09Z")

</div>

A VST3 project generated with Projucer have two targets: SharedCode and VST3. Is there a simple way to add Post-build commands in Projucer that only applies to one target, in this case the VST3.

I copy the vst directly into the vst folder using: copy /Y “(OutDir)(TargetFileName)” “%CommonProgramW6432%\VST3$(TargetFileName)”. However, since it applies to both targets, the lib generated by SharedCode is copied as well.

---

<div class="post-metadata">

**Author:** ![xenakios](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/xenakios/32/4047_2.png) [@xenakios](https://forum.juce.com/u/xenakios)\
**Post date:** [August 21, 2019, 12:16pm UTC](https://forum.juce.com/t/post-build-command-on-vst3-but-not-sharedcode/34893/2 "2019-08-21T12:16:34Z")

</div>

You can set up the plugin copy steps in the Projucer and it should make the copying work properly.

 ![pjcopystep1](https://us1.discourse-cdn.com/flex026/uploads/juce/original/2X/8/88e8180302b173de130eeaff06f9f1ba3d2a4ed8.png)

---

<div class="post-metadata">

**Author:** ![ssaue](https://avatars.discourse-cdn.com/v4/letter/s/848f3c/32.png) [@ssaue](https://forum.juce.com/u/ssaue)\
**Post date:** [August 21, 2019, 12:36pm UTC](https://forum.juce.com/t/post-build-command-on-vst3-but-not-sharedcode/34893/3 "2019-08-21T12:36:24Z")

</div>

Excellent. Thanks!
