With the Visual Studio project exporters, the “shared code” also gets the post build step activated when building for example VST3 plugin which will cause the build to fail. The post build step should probably be ignored for the shared code project or it should be made separately optional for that.