Bug 18461 - Getting 'System.TypeInitializationException' when connecting to build host
Summary: Getting 'System.TypeInitializationException' when connecting to build host
Status: RESOLVED NOT_REPRODUCIBLE
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: iOS ()
Version: 1.10.x
Hardware: PC Windows
: High major
Target Milestone: 1.10.x (VS2013+1)
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2014-03-19 10:47 UTC by narayanp
Modified: 2015-08-04 13:55 UTC (History)
7 users (show)

Tags:
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 NOT_REPRODUCIBLE

Description narayanp 2014-03-19 10:47:55 UTC
Steps to reproduce:
1. Connect VS to build host.

Actual Result: When user trying to connect VS to build host, we are getting 'System.TypeInitializationException' and unable to connect to build host. We observed it on following machines:

Windows 8(64 bit) + Mac Maverick (Xcode 5.0)
Windows 8.1(32 bit) + Mac Lion (Xcode 4.6.3)
Windows 8(64 bit) + Mac Lion (Xcode 4.6.3)
Windows 8.1(32 bit) + Mac Maverick (Xcode 5.0)

While on another machines we are successfully able to connect to build host.

Expected Result: User should able to connect to build host.

Supplement info:
Mtbserver log: https://gist.github.com/saurabh360/6e1e02d57f2c34e3facf
Debug Output: https://gist.github.com/saurabh360/d793832aa12666ca1fef
Mac Server Log: https://gist.github.com/saurabh360/3d2538ee9286825b3a5b

Environment details:
X.iOS 7.2.1-20
MTVS 1.10.47

Regression Status:
REGRESSION: successfully able to connect with stable X.iOS 7.0.7.2 while getting same behavior with stable 7.2.0.2
Comment 1 PJ 2014-03-19 15:31:18 UTC
> while getting same behavior with stable 7.2.0.2

+CC Chrisntr - are you and your team seeing reports of this issue using MTVS 1.10.47 + iOS 7.2.0.2 by any chance?
Comment 3 Ian Ceicys 2015-07-10 12:07:57 UTC
Hi narayanp, I am following up on this bug and attempting to reproduce the issue with the latest stable build of our Xamarin Visual Studio product (3.11.666) and so far I have been unable to reproduce the issue with adding to connect VS to the build host and getting the error ""'System.TypeInitializationException' and unable to connect to build host"".

Please try to upgrade to the latest stable XVS build and if you are still experiencing the same problem please reply and I'd be more than happy to setup a screen sharing session to further debug the issue.

At this time, I am going to update the bug to "NeedInfo" as I need additional information on the installed Xamarin version and the Xamarin logs to reproduce this error.
Comment 4 Udham Singh 2015-07-14 11:59:48 UTC
Now, we are not getting this issue at our end. Hence I am marking this issue as Resolved - Not_Reproducible. Thanks!