Bug 39710 - [Log file cleanup] "There was an error while trying to evaluate the consistency ..." will be recorded in the log file if the user connects to the build host while a cleaned (or brand new) iOS project is loaded in VS
Summary: [Log file cleanup] "There was an error while trying to evaluate the consisten...
Status: RESOLVED FIXED
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: iOS ()
Version: 4.0.0 (C6)
Hardware: PC Windows
: --- minor
Target Milestone: ---
Assignee: Brendan Zagaeski (Xamarin Team, assistant)
URL:
Depends on:
Blocks:
 
Reported: 2016-03-17 05:30 UTC by Brendan Zagaeski (Xamarin Team, assistant)
Modified: 2016-12-22 18:36 UTC (History)
4 users (show)

Tags: papercut
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and 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 Links.

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.

Related Links:
Status:
RESOLVED FIXED

Description Brendan Zagaeski (Xamarin Team, assistant) 2016-03-17 05:30:47 UTC
[Log file cleanup] "There was an error while trying to evaluate the consistency ..." will be recorded in the log file if the user connects to the build host while a cleaned (or brand new) iOS project is loaded in VS


Note: For the particular scenario described in this bug report, the error message is _harmless_. It does not indicate a problem that will affect the normal operation of Xamarin. Please direct questions and comments about any _different_ scenarios where this error seems to be interfering with normal operation to other bug reports. Thanks!




## Regression status: new feature in Xamarin 4.0




## Steps to replicate

1. Disconnect from the build host.

2. Create a new Xamarin.iOS project in Visual Studio. (Or clear the Mac build host cache and then open an existing Xamarin.iOS project.)

3. Connect to the build host.




## Results

In Cycle 6 (4.0.1.145 (f869dba)), the `%LOCALAPPDATA%\Xamarin\Logs\[11|12|14].0\*Ide.log` file shows:

> There was an error while trying to evaluate the consistency between local build and conencted Mac build.



In the Cycle 7 Preview Alpha (4.1.0.111 (a78562a)), the log file shows a new improved wording for that same message:

> There was an error checking the consistency between the local build and the remote build state on the Mac

(The Cycle 7 Preview logs now also include some very nice additional details about the particular reason the check failed.)




## Possible improvements (for Cycle 7 and higher)

If possible, it would be nice to remove this message for the _precise_ steps to replicate as listed above, where the message appears immediately after the user has connected to the build server with an iOS project open, but before the user has performed any other operations.

The error message should of course _still appear_ in the log files if the consistency check fails when a user attempts an operation that really does _require_ consistency, such as debugging an app on simulator or device or creating a `.ipa` package for distribution.




Thanks!
Comment 1 mag@xamarin.com 2016-12-22 18:36:21 UTC
This issue has been fixed and now this message is shown only when a real inconsistency between local and remote app versions are found.