Bug 57805 - Visual Studio freezes when User is required to reenter credentials
Summary: Visual Studio freezes when User is required to reenter credentials
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: Activation ()
Version: 4.6.0 (15.3)
Hardware: PC Windows
: High normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2017-06-27 19:20 UTC by mark.allibone
Modified: 2017-09-25 21:15 UTC (History)
7 users (show)

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

IDE Log describing the error (2.35 KB, application/octet-stream)
2017-06-27 19:20 UTC, mark.allibone

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:

Description mark.allibone 2017-06-27 19:20:40 UTC
Created attachment 23149 [details]
IDE Log describing the error

When opening a Xamarin solution the IDE freezes if the is required to reenter his credentials. VS has to be killed via Task Manager and does not provide any information to the user regarding the re-authentication.
Comment 1 John Miller [MSFT] 2017-07-07 19:01:52 UTC

Are you able to confirm if there is an old license file in any of the following locations noted in step 5 of this doc: https://developer.xamarin.com/guides/cross-platform/troubleshooting/legacy-licenses/resync-licenses/#Extended_manual_license_refresh_steps

Try removing that file and see if you continue to have this issue. The log errors seem related to legacy licenses.
Comment 2 mark.allibone 2017-07-10 13:57:15 UTC

Thank for getting back to me. Yeah I updated the License Files in the Account Dialog of VS 2017 that seemed to have done the trick. Also had to login again on the MacOS side.

Hope the error messages will become better over time without having a frozen VS on startup via Project shortcut.
Comment 3 Jose Gallardo 2017-07-12 17:56:58 UTC
Thanks for confirming you were able to workaround the issue.
We're marking it as confirmed to work on a fix.
Comment 4 mark.allibone 2017-07-18 15:34:21 UTC
@Jose Unfortunately it happened again, after applying the steps. Only solution is to repeat them over and over again every time VS freezes. I have not yet detected a time pattern of sorts but it seems the license info is stored at an additional place which does not update properly?
Comment 5 Prashant [MSFT] 2017-08-11 04:58:38 UTC

Unfortunately I am unable to reproduce this issue. Did you own a Xamarin business license before? 

What version of Visual Studio are you using on Mac and Windows? Is it possible to share the information[1]?

You don't necessarily have to login to use Xamarin tools now that it's free. However, I will talk to engineering team regarding this issue and keep you updates?

1. https://developer.xamarin.com/guides/cross-platform/troubleshooting/questions/version-logs/#version-information
Comment 6 Pierce Boggan [MSFT] 2017-09-25 21:15:13 UTC
Because we have not received a reply to our request for more information in over 4 weeks, we are closing this issue. If you are still encountering this issue, please reopen the ticket with the requested information so we can continue looking into this. Thanks!