Yes, I have successfully packaged the city sample this way.
I read your article. Your method was completely correct.
The first build takes 2-3 hours. Next time it will be reduced to about 30 minutes.
Are you still having this problem?
Maybe there is a problem with the windows sdk.