In your custom build step, set "execute after" to BuildGenerateSources.
This is represented in the vcxproj-file by adding the line
<CustomBuildAfterTargets Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">BuildGenerateSources</CustomBuildAfterTargets>
to the <PropertyGroup>
block