Home Forums Software Development MSB3073 exited with code 1 error Reply To: MSB3073 exited with code 1 error

#5929
Grant [Tobii]
Keymaster

Hi, I suspect the error lies in the line:

if (TX_RESULT_OK != txInitializeEyeX(TX_EYEXCOMPONENTOVERRIDEFLAG_NONE, NULL, NULL, NULL, NULL))

Did you try just running a test calibration? You could also try a different route by testing
for user presence:

// Print value of user presence state if it is valid
var userPresence = _eyeXHost.UserPresence;
if (userPresence.IsValid)
{
Console.WriteLine("User presence: {0}", userPresence.Value);
}
// Subscribe to changes in the user presence state.
eyeXHost.UserPresenceChanged += MyEventHandler;

If the EyeX Engine is not connected, user presence and all other states will be set to invalid.