SignIn fails in Visual studio 2017 with reason : Winlnet cannot redirect - visual-studio-2017

Installed VS 2017 and trying to sign-in but getting the following error:

Following trick worked for me..
https://developercommunity.visualstudio.com/content/problem/56104/the-browser-based-authentication-dialog-failed-to-1.html
Close Visual Studio.
Open the Visual Studio Installer.(https://visualstudio.microsoft.com/vs/enterprise/)
Click on the report a problem link at the top.
On the left hand side, there should be a person icon to sign in. Sign in.
Close that, and open Visual Studio. You should now be signed in.
Then go to File -> Account Settings. You should see a license, or click check for an updated license. (I didn't need to do this step. Things started working before this point for me.)

Related

Unable to log in Visual Studio

I get this error while I'm trying to login to Visual Studio 2017:
Impossible to load IEFRAME DLL
SOVLED! There is some bug (unknown) with the sign in option presented in the top right corner of the Visual Studio window. As part of opening this issue, I was directed to report this problem via Visual Studio>Help>Send Feedback>Report a problem. This openes a new instance of "Visual Studio Feedback" which required that I log in. Funny enough, it let me sign in via this interface. When I went back to Visual Studio proper, I was signed in!!! Major bug. Please fix.
Via: source

The setup for this installation of visual studio is not complete, really?

I have been using Vs 2017 for several months on dev machine. This fine morning says setup incomplete. Am I missing something?
In this case you need to go to Control Panel => Programs and Features and choose Visual Studio and update it.
VS 2017 (15.6.6) was fine for me on Friday 6/1/18 on Windows 10, but same issue as OP today after a restart.
As suggested by the dialog and Retired Ninja, I ran the Visual Studio Installer (to 15.7.3 after updating VS Installer) and that fixed it.
Note that the 15.7.3 update was a 7.73 GB download. Your download size may vary.
This has happened to me for the last 3 upgrades in Visual Studio Enterprise 2017 (now again on upgrade to 15.9.21).
The fastest fix (and I'm not sure why) is simple and doesn't bomb your settings or take for ever.
In the Visual Studio Installer, click on Modify.
Click "Modify" on the bottom right corner.
Yes it says "Total space required 0 KB".
Yes you didn't really change anything.
It will then act like it is downloading something. (not sure what)
It will then act like it is installing something. (again, not sure what)
Open Visual Studio 2017 and it works.
Hope this helps.
If you have an offline installation like me and can't simply re-run the Visual Studio Installer you can edit devenv.isolation.ini and change the last line to read SetupFinished=true. It will detect your trickery and complain, but at least it will launch again.
Edit: I ended up getting the Visual Studio Installer to fix the issue after choosing the "Download then Install" option. Maybe I was too impatient when I initially stopped the update? My above answer is useful when you need to get work done that isn't affected by the broken features, but you will likely encounter problems later on.
just had the same problem (without any reason with) vs 2019 prof, after googling and reading on that topic, just went to vsix, looked for some individual component to install/uninstall, randomly picked cloud explorer, uninstalled it and some dependent components and VS 2019 prof started normally
decided to leave this here. may be it helps somebody
Solved: I did following steps, run the visual studio and it works for me.
In my case visual studio was working fine , I just restarted the PC, this popup was keep coming when I try to open visual studio.(in my case I was using VS 2019)
Go to this path "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\IDE"
Open devenv.isolation.ini, set SetupFinished=true and save.
Now open visual studio.
Cheers!
In my case did following steps:
Clear temp files (you can %temp% in run command and Shift+Delete files)
Restart your computer
Open visual studio it will work properly.
Update: Faced problem again after couple of days, This time I go to C:\Program Files (x86)\Microsoft Visual Studio\Installer.
Click on retry.
Select one more feature which I had already installed on my Visual Studio
Click on modified and after installation it worked again.
This happened to me after I canceled a plugin update.
I solved by going to this site that has the latest update of Visual Studio.
https://learn.microsoft.com/en-us/visualstudio/releasenotes/vs2017-relnotes
I downloaded and upgraded it.
After that, Visual Studio worked.
If your VS is already upgraded, thereĀ“s an option to "repair" on the installer.
For this problem, goto uninstall screen in control panel right-click visual studio and select option change, Installer page will open now, In that window without changing anything click modify. it will solve the problem. I'm using VS Professional 2017
I got the same error today morning. This is what I did:
I ran the visual studio installer then I clicked on Modify.
The installer was showing 0KB Required. I continued and then it downloaded and installed. (Not sure what).
After that installation, it was able to launch.
I hope it works for you as well.
I was using Vs 2019 professional 16.6 and happened to me this issue one morning. I modified the installation by adding Azure Development tools even though I was not using it. This fixed the issue.
I just updated to 15.9.24 and I got this yet again, as I have my resolution above, and Visual Studio 2019 seems to be a lot better with avoid this issue. The installer for 2019 you do have to change something and do the modification, 2017 you don't have to change anything.
I reported this issue through Developer Community:
Setup not complete since 15.9.21
I don't know why but sometimes its buggy
it's up to date but after launch visual studio this error prompted !
you have to click modify in vs installer and just modify it.
its not going to download anything.
after a moment launch vs and enjoy :)
For VS2022, WIN11:
Control Panel > Programs > Programs and Features > Microsoft Visual Studio Installer
Then, click on Change and resume the previous process.

Visual Studio 2017 on Team Explorer tab missing Builds work Items Reports

I have Visual Studio 2015 and Visual Studio 2017 on my machine. I cannot see Builds under Team Explorer in Visual Studio 2017. I can see it in Visual Studio 2015. I was connected to the same collection and project and had the same credentials.
Please make sure that you are connected to team foundation server.
Go to Source Control Explorer and try opening the solution again after connecting to TFS.
Thanks!
According to your description, the situation is very likely you are opening a local project in VS2017.
Suggest you double check your project source control binding. You could try to unbind and rebind it. How to do this please refer this link.
You could also connect some other projects and collections in VS2017 to narrow down if the issue is only with that specific project.

Visual Studio 2015 - Can't see code to existing project

When I open a C++ project created recently on Visual Studio 2015 I am able to debug it and have it run, but the code window is blank. I've clicked all around and can not find anything to show me the code so I can continue to work on it.
I have tried:
F7: View Code does not work.
Opening from the Solution Explorer window does not do anything.
Searching Google, Stack Exchange, and YouTube tutorials for my identical problem.
I suspect it is a very straightforward misunderstanding of the interface on my part, but wanted to get involved on Stack Exchange to figure it out.
[
Fixed with the following for me.
Change 'Color Theme' to something other that what you have.
Tools -> Options -> Environment -> Color theme:
Select OK then exit Visual Studio.
Open project and should see your source.
Please clear Visual Studio Cache, then open the Visual Studio again.
You can find cache folder on follwing path
C:\Users\<your_username>\AppData\Local\Microsoft\VisualStudio\<VS_version>\ComponentModelCache
Note : Close Visual Studio, and stop all Visual Studio processes.

Visual Studio 2012 doesn't load any project

So, I'm kinda new into this VS world. I'm using VS 2012 and it was everything working correctly last time. Now I try to open my projects and none of them actually loads. When I go to the solution explorer I just see the message "Load failed" followed by the message: "The project requires user input. Reload for more information." But when I reload, it pops up a message "The operation could not be completed. There is no support for this interface."
I don't know what it means by "requires user input", i never opened my project with any input, I just click on the project's file and open it...
Anyway, what is going on??
Thanks.
I got the same message (using VS 2013) opening a project located on a network drive.
I Right clicked the project in Solution Explorer and selected 'Reload Project', a dialog appeared warning me about an untrusted location, I clicked OK and the project loaded successfully.
Change the folder name of your project. Then VS asks again if it is trustable. than click YES. after that VS reloads the project
I had to "repair" Visual Studio Express 2012 on my Windows 10.0 Laptop. You get the repair option if you already have Visual Studio installed.
This fixed my issue which was exactly like above.
I removed the ComponentModelCache folder and restarted Visual Studio 2012.
This solved the issue for me.
C:\Users\username\AppData\Local\Microsoft\VisualStudio\11.0\ComponentModelCache
This worked for me as well. I removed the contents of the folder, ComponentModelCache, then I restarted 2012 and the projects loaded without issue.