Can't start a session in Visual Studio Live Share - visual-studio

I have just deinstalled and reinstalled Live Share in Visual Studio Community Edition 2022 to ensure that I have the lastest Version of this plugin installed.
When I now click on the Live-Share button in the top right corner of Visual Studio, the browser opens and says
"Visual Studio Live Share
We have retired this form of authentication. To start or join a Live Share session, please update Live Share extension to a newer version. Please see our documentation (https://learn.microsoft.com/en-us/visualstudio/liveshare/) for more details.
Please refer to the documentation for more details."
Since I just installed the lastest version of Live Share and also installed the latest update of Visual Studio Community 2022, I don't know what to do here.
"At the same time, Visual Studio says: "Please complete sign-in in the browser window , then you should be signed in automatically. If not, you may enter the user code manually." After that, I have three buttons "Cancel", "Enter user code" or "Don't show again". Hitting "Enter user code" opens a window that says: "Please complete sign-in in the browser window, then copy the user code to start the collaboration session". Since the browser doesn't allow me to sign in, I don't know what to enter here.

I solved the problem. I had to go to Tools->Options->Live Share->Authentication and something at User Account.

Related

GitHub Copilot extension on VS 2022

I have installed the copilot on my VS 2022 successfully (My work laptop). I also have paid an annual fee. but when I log in and activate it (paste the code and the message 'Congratulations, you're all set! Your device is now connected.' shown on the browser ) I only can see the below message in VS, copilot output tab
'14:14:36:648 Please open https://github.com/login/device and enter the device activation code AD05-A79D that has been copied to the clipboard.'
It seems to be stopped in this step and I can't activate it! any log to check? Any advice to fix it
Note: I have installed it on the same version of VS on my personal laptop.
Note: No filter from the IT side on the GitHub connection
Thanks for your advice :)

VS2015 Community Subscription license is stale

I have a Windows Form app that I developed with Microsoft Visual Studio 2015. I recently got a message that my license "has gone stale" and must be updated. When I click the link, I get an error message: "We could not download a license. Please check your network settings or proxy settings."
Going to my subscription online, I see "Visual Studio Dev Essentials"
I tried the solutions from https://cloudopszone.com/visual-studio-2015-error-message-we-could-not-download-a-license/ without success. My account is a "work" account and we do not use MFA at this time.
Visual Studio Community 2015 won't sign in. How do I fix this? suggests that uninstall/reinstall is needed, so perhaps that is my best next step.
I found the VS2015 installer here: https://my.visualstudio.com/Downloads?q=visual%20studio%202015&wt.mc_id=o~msft~vscom~older-downloads
Anyone know if it is possible to update a stale VS2015 license currently? It occurs to me that MS may have made that impossible somehow since it is an old version.
I installed VS2019 CE to use that, and it opens just fine but my app has issues with fonts (which is a separate issue), and forms look almost ok on screen but very bad when run.
This was caused because years ago, I used a "personal" microsoft account, which has the same user id as my "domain" account. The domain account is what I use for Office 365, Azure, and domain logins. Apparently VS 2015 was connected to the personal account. I knew of this personal account, but since I don't use it anymore, I incorrectly assumed it was kaput.
To fix, I opened VS2015, and when prompted to update license, I selected "Add an account..." and entered my userid and noted it was a personal account, and entered that password (different from domain p/w, and thankfully saved in chrome for better or worse). Then, when I clicked on "Check for an updated license", it found one right away and is now working.

Visual Studio Community 2015 won't sign in. How do I fix this?

Whenever I open Visual Studio Community 2015, it asks me to update my license. It won't let me download an updated license, as every time I try, it tells me to check my network or proxy. I do not have a proxy, and my network is just fine.
In addition, when I click the "Add Account" button, which is supposed to let me add an account, it has a message box pop up saying "Configuration system failed to initialize.".
When I click the sign in button, the sign in window pops up, but it disappears immediately, then the program crashes.
Here are a few pictures:
Visual Studio Community 2015
How do I fix this?
I'm afraid it's something with your specific machine. Given that you've cleaned out the computer and made a full reinstall of the OS and tried with a new account at Microsoft, there's no rational reason why it's not working in a general case.
I've tried those steps and it worked out. You might want to retry the clean-reinstall-reregister steps again, in case something went missing the last time.
As a personal side note I can safely point out that this shouldn't happen. Definitely not to good people like us. :)

Visual Studio Community 2013: SP324099 When Trying to Log In (With IE11)

So, after using the new quote "Free" version of Visual Studio 2013 -- ie Visual Studio Community 2013 -- for a time, I have gotten the message that my "30 day trial" has expired...
License: 30 day trial (for evaluation purposes only)
This license has expired.
! Your trial has expired. Sign in to acquire a license using an online account
Ok...so I tried to click the "Sign On" option I was given. The result? I get this message in the window that comes up:
Sorry, we ran into a problem
SP324099: Could not complete the operation
This also happens when I try the Check for an updated license option.
According to the answers I saw
here
and
here
the fix was to update Internet Explorer to version 11. The only problem? I have IE11 already. I can't really find any way to fix this for Visual Studio Community 2013, and I'm not sure what to do with this. Any help is greatly appreciated. Thank you!
EDIT: I am not sure if this is relevant information but I will include it in the event that it is. When the error comes up, I get an IE browser window that pops up as well. This IE browser takes me to a site with an invalid/expired certificate (that appears to still be MSDN...I hope). I continue and log in to MSDN, but it just gives me this dictionary with {"securityToken": ["..."]}
Is the certificate problem related to this somehow? Does this information provide a clue as to what the answer is? Thanks.
After you have attempted to refresh the "free" license, if this popup window with the error message appears, just simply click on the X in the upper right-hand corner of the window to close the popup. (Instead of attempting to sign in again.)

How to install visual studio documentation offline?

I have suffered trying to download documentation using Visual Studio's Help Library Manager. It just gets stuck after downloading 2 out of 5 books, and there is no option to pause and resume. Does anyone know where I can get full documentation to download and install offline?
you can download latest documentation at :
http://www.microsoft.com/en-in/download/details.aspx?id=34794
The answers above are not perfectly clear in how to "install" the help. I had to search a bit to find out how... Hope my answer is helpful to the newbie...
As mentioned by "Prakash GPz", the documentation is already present in the dvd for Visual Studio 2010. If you want to install this after starting use of Visual Studio 2010, you need to do the following steps:
Start Visual Studio 2010
Navigate to the "Help" menu
Click on "Manage Help Settings"
Since help might not be initialized for you, you will have to set the Help3 content location (just accept the default shown)
Select "Install content from disk"
Browse to the "ProductDocumentation" folder under the DVD drive
Select the HelpContentSetup.msha file
Click "Add" on each section of the help (or click "Add for ALL the sections) that you'd like to have locally available.
The installation will take a while, but after everything is done, you'll have local help available!
Installation of offline help has changed (again). For the latest versions of Visual Studio (up to 2017, at the moment), you need to include the Help Viewer during installation, or at it later with the "Modify" option in the Visual Studio Installer.
You can find the "Help Viewer" option under "Code tools", in the "Individual components" tab of the installer.
Once you've enabled the Help Viewer, you can find commands under the Visual Studio "Help" menu to control its behavior: "Add and Remove Help Content" allows you to select what documentation areas will be available offline, while the "Set Help Preference" menu allows you to specify whether to display offline help in a browser window or using the Help Viewer.
Note that changes to the Help Viewer need to be made in an elevated process (i.e. under an admin account). If you usually operate the computer using a non-admin account, you'll need to log in as an admin to update the offline help content, because it requires the running process to be the same user account as the actual logged in account.
You can install the documentation manually from the setup folder itsef. it is availablein 'ProductDocumentation' folder. you have to open a file with .msha extensiom
To install VS docs offline, you can use MSDN to USB, it works with any Visual Studio 2010|2015|2017|2019 IDE product.
Apparently, you've to download the docs 1st, then use this tool to "Backup MSDN" to your USB drive, later use the same tool to "Locate MSDN".

Resources