Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
When the time between the build host and the Windows systems are not close enough, cleaning and building fails. The issue is that there is not reliable feedback to let the user know that this is the issue. I was stuck on this for quite a while (would have given up if I were a user) before seeing an error that said something about system time when closing VS. It was only up for a moment, but it did give me the idea to check the time synchronization. So, there may be a an error in place already, but it does not always manifest itself. This can be seen in the following screencast:
1) Connect to BH with VS instance
2) Start up an iOS project
3) Desync the Windows system time from the BH time by at least 5 minutes
4) Clean or build the iOS project
5) Observe that it fails without feedback as to why
As an update, I have found that there is an error message in c4 XVS stable 184.108.40.206 (20fd2f0).
> Error 2 The clocks on the Build Host and this Machine are out of Sync. Please make sure they are within 3 minutes (UTC) of each other.
This is not present in the build that I had tested in the original description.
I have checked this issue with the C5SR3 latest build of XVS 3.11.852 and XI 220.127.116.11 and observed that when there is discrepancy in between the time then in VS it gives error :
Error 1 The clocks on the Build Host and this Machine are out of Sync. Please make sure they are within 3 minutes (UTC) of each other. 0 0
Screencast : http://screencast.com/t/0i4KuoST
Could you please check with latest build of C5SR3? Its working fine for me.
I have found that there is an error when opening a project before pairing with the build host. But, after fully connecting to a build host, there is no error when failing to compile if there is a time discrepancy. Resolving the time discrepancy will result in a successful build.
1) Pair with a build host so that it is remembered by VS
2) Unpair and close VS
3) Create a time discrepancy between the Mac and Windows machines that is greater than 3 minutes
4) Launch a blank app in VS. Ensure that VS and BH are in an unpaired state.
5) Observe the error:
>Error 1 The clocks on the Build Host and this Machine are out of Sync. Please
make sure they are within 3 minutes (UTC) of each other.
6) Pair VS with the BH
7) Attempt to build the project
8) Observe that there is no build error when the project fails
Expected behavior: There is a build error similar to the one in step 5
Actual behavior: There is no build error
9) Resolve the time discrepancy by syncing the system clocks
10) Build the project and observe a successful build
Screencast (the empty error list can be seen at the end): http://screencast.com/t/lrX0K8Hm
can't reproduce in 18.104.22.1688, please verify
I am unable to reproduce this in 22.214.171.1248 as well. Set the host's clock ahead
by two hours and the project still successfully built.