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.
Created attachment 14132 [details]
Log files and version info
[XVS 4.0] Somewhat misleading "Failed to execute 'ls /usr/bin/mono'" warning message in Ide log with OS X 10.11 El Capitan build hosts
## Steps to reproduce
Pair Visual Studio with a Mac build host that is running OS X 10.11 El Capitan.
The Ide*.log file contains complaints that make it sound like `mono` cannot be found at all:
- Failed to execute 'ls /usr/bin/mono': ExitStatus=1
- ls: /usr/bin/mono: No such file or directory
In fact, these warnings (that look like errors) are ignorable. XamarinVS silently does an extra search and will find `mono` successfully under the second search path if it exists:
### The relevant last few lines of the Ide*.log file
> Xamarin.Messaging.Client.Ssh.SshCommandRunner Warning: 0 : [2015-12-04 20:01:47.3766] Failed to execute 'ls /usr/bin/mono': ExitStatus=1
> Xamarin.Messaging.Client.Ssh.SshCommandRunner Warning: 0 : [2015-12-04 20:01:47.5246] ls: /usr/bin/mono: No such file or directory
> Xamarin.Messaging.VisualStudio.MessagingService Information: 0 : [2015-12-04 20:01:52.3630] Agent Designer 22.214.171.1247 is running
> Xamarin.Messaging.VisualStudio.MessagingService Information: 0 : [2015-12-04 20:01:52.5060] MacServer State transition from LimitedState to ConnectedState on XSU-39A-2.local (192.168.1.224)
> Xamarin.Messaging.VisualStudio.MessagingService Information: 0 : [2015-12-04 20:01:52.6380] Connected to the Mac XSU-39A-2.local (192.168.1.224) with Full support.
## Possible improvements
A. If _all_ of the search paths for `mono` fail, output an _error_ (rather than just a warning). Otherwise produce _no_ log messages about this search process.
... or maybe:
B. Only enable the _warning_ messages when the log verbosity has been increased by starting Visual Studio with the `/log` option?
... or maybe:
C. A combination of both A and B, where an _error_ is displayed if all the search paths fail, and otherwise some warning messages will be logged, but only if Visual Studio was started with the extra `/log` option.
Fixed in version 126.96.36.199 (cycle6-sr1patches)
Author: Jose Gallardo
Commit: 626f58abc7bd36504bd36b72703775c2a5f419f5 (xamarin/XamarinVS)
I have checked this issue with XVS 188.8.131.527 + XI 184.108.40.206 and able to reproduce the reported behavior given in the bug description.
I have checked this issue with latest XVS and XI master builds. Now this issue is working fine.
XVS Environment Info: https://gist.github.com/Abhishekk360/878cd97fc5a6ae8c083b
XS Environment Info: https://gist.github.com/Rajneesh360Logica/44062556a3b81837ea2a
I also checked this issue with C6SR1 build i.e available in trello card and now this issue is working fine.
XVS Environment Info: https://gist.github.com/saurabh360/f54eb5aa70f9bf24ddc1
Mac Environment Info: https://gist.github.com/Rajneesh360Logica/9032dab869ae3f862c28
I have checked this issue with latest C6SR1 builds i.e
Xamarin.VisualStudio_220.127.116.11_7082690bc14204df87fef136ca426c746d2842df.msi + monotouch-18.104.22.168_78c6cd3daa06fb89f495bdb7b819bf76f61718f8 and now this issue is working fine.
Hence I am closing this issue.
Fixed in version 22.214.171.124 (cycle6)
Commit: 86844a4bb93a7ef3beba7a59e62b40beed8ab582 (xamarin/XamarinVS)