Hello and welcome to our forums,
As far as I know, the sync is the first thing that is done when the project is initialized (this is how the synchronization works).
The pre-build events are executed during the build, which can happen a lot after the project was initialized.
I will discuss this with the dev in charge to see whether there is something we can do here,
So far, an ideea that I got for the moment (please note I haven't tested it) is to build from the command line.
For instance, you could use our
PowerShell automation support to do the loading and building of the project. I am thinking that by doing so, the project is no longer initialized and therefore the sync will not happen.
However, I am not so sure whether the synchronization will happen afterwards.
That being said, could you please give this a try and let me know how it goes?
Best regards,
Catalin