Howto Logout Of Visual Studio For Mac

Inside Visual Studio for the Mac. Essentially, Visual Studio for the Mac is Xamarin Studio plus a Visual Studio look and feel, along with Roslyn-based C# IntelliSense, refactoring, analyzers,. Nov 16, 2016  Create and Run an App in Visual Studio for Mac with UI for Xamarin. Open Visual Studio for Mac and create a new Forms app Right-click the Packages folder of the portable class library project and select Add Packages From the menu at top-left in the.

Looks like something has changed in NuGet 4.3 maybe. I created a new Xamarin.Forms project using VS Mac 7.2, then uninstalled the Xamarin.Forms NuGet package and added a project.json file to the PCL project (also removed the :

Then uninstalled the NuGet package from the iOS project and added a project.json file:

Then reloaded the solution. The build fails in VS Mac 7.2 due to missing Xamarin.Forms types but works in VS Mac 7.1. The problem seems to be that the generated project.lock.json file does not have any Xamarin.Forms information when the NuGet restore is run using VS Mac 7.2. The main difference between VS Mac 7.1 and 7.2 is that NuGet was updated from 4.0 to 4.3.1.

However using NuGet.exe 4.3.0 from the command line and running a restore, or using msbuild /t:restore, both seem to generated project.lock.json files with Xamarin.Forms information in them. Just VS Mac 7.2 does not.

A potential workaround here would be to disable automatic package restore and run the restore outside VS Mac using msbuild /t:restore or nuget.exe.

ForumVisual Studio

Quick Links

edited May 2017 in Visual Studio

Visual Studio redirects me to the login page of my organisation, but once there the login screen remains blank (a small box should appear to ask me for my user and password, but it never happens):

Any ideas?

0

Posts

  • Hi Julio, please exit Visual Studio for Mac, delete ~/.ServiceHub, then restart Visual Studio to see if that helps. Thanks!

  • @AshleyGazich said:
    Hi Julio, please exit Visual Studio for Mac, delete ~/.ServiceHub, then restart Visual Studio to see if that helps. Thanks!

    Still the same, just a blank screen.

  • Same thing happen to me here. Also try deleting the suggestion above, but still not working.

  • Do either of you happen to be behind a network proxy? Sony handycam dcr sx41 manual.

  • @AshleyGazich said:
    Do either of you happen to be behind a network proxy?

    No, I am not.

  • @julio.cabanas Could you please email the contents of ~/.ServiceHub/logs to my attention via [email protected]?

  • @AshleyGazich said:
    @julio.cabanas Could you please email the contents of ~/.ServiceHub/logs to my attention via [email protected]?

    Done!

  • Was a solution found to this problem? I also have the same issue currently.

  • Julio and Adam, thanks for your patience during investigation. We just released a new preview that should help with some of the sign-in issues. If you'd like to give that a try, please change the updates channel to Beta (Stable can be safely reverted to at any time by simply switching back). Here are the corresponding release notes and blog post. Note that signing in to your Microsoft account behind a proxy still fails, so we are working on that. Thanks!

  • @AshleyGazich I am currently having a similar issue. My company recently switched emails from @company.com to @company.onmicrosoft.com.
    I have no issues logging into VS on my windows machine. However when I try to enter my credentials on VS for Mac it will not log on. Thanks!

  • @NolanSinclair apologies for the delayed reply--I'm just now seeing this notification. Is authentication happening behind a proxy? Latest mac update. What is your full version information from Visual Studio > About Visual Studio > Show Details > Copy Information [button]? If this is still an issue, please go to Help > Report A Problem in Visual Studio and submit a report there with those details so that we can follow up directly. Thanks!

  • Im having the same issue too, not behind a proxy. Is there a workaround for this?

  • edited November 2017

    I'm having the same issue here, running with:

    Visual Studio Community 2017 for Mac (Preview)
    Version 7.3 Preview (7.3 build 764)
    Installation UUID: e3590713-3173-4b16-b9f9-3e2dc4b0eecf
    Runtime:
    Mono 5.4.1.7 (2017-06/e66d9abbb27) (64-bit)
    GTK+ 2.24.23 (Raleigh theme)

    Update: when connecting to my cellular provider through hotspot the connection succeeded. not sure what is the case but i'm getting very slow response from you're servers even on safari. (when trying connect to VS)

  • Same Issue here

    12/13/2017 06:17:04 : Error : An exception was encountered while reading data from the IdentityServiceAdalCacheStorage : System.NullReferenceException: Object reference not set to an instance of an object
    at Microsoft.Developer.IdentityService.AccountProvider.IdentityServiceAdalCacheStorage.ReadDataCore () [0x000ac] in <81b4c4c52fa54b43bf1f184f5ad4df28>:0
    at Microsoft.Developer.IdentityService.AccountProvider.IdentityServiceAdalCacheStorage.ReadData () [0x0004d] in <81b4c4c52fa54b43bf1f184f5ad4df28>:0

  • @IainSmith@Shlomiza@Louis.7875 and anyone else that may be affected: A bug related to signing in was fixed in Visual Studio for Mac 7.3.3.5 (release notes here).

    We are currently tracking Cannot sign in to VS 2017 on Mac with my company account, which you can comment on and vote for in the Visual Studio Developer Community.

    For behavior suspected to be a Visual Studio for Mac bug, please submit an issue via Help > Report a Problem in the IDE.

  • Its working for me now in on 7.4 thanks for the update.

  • 1