VS IDE 2022 - Intellicode suggestions failed to start - visual-studio-2022

When I open a solution in VS 2022, I get the following error.
Task Failed - Activating language client IntelliCode suggestions: IntelliCode suggestions failed to start. The initialization error was logged and will be reported to the IntelliCode team.

I'll post the fix that worked for me.
Make sure VS IDE is closed. Open the Visual Studio Installer and repair the VS IDE where the Intellicode failed to start.
Restart PC after the repair has completed.
This is the only way I could get it to work again. Either that or a complete re-install. I've chosen to repair instead of a complete re-install.
Hope this helps

Related

How do I "cancel and reset" a paused Visual Studio 2022 setup?

I'm trying to update my installation of VS 2022 to 17.4.5. The installation cannot complete because for some reason it cannot download two files:
Microsoft.VisualStudio.KeychainCredentialHelper.vsix
Microsoft.VisualStudio.RazorExtension.vsix
I've asked the infrastructure team at our company to investigate. But the problem now is that I can't work on anything in VS because there's an active setup. There's an option to pause the setup, but I can't find a way to cancel the setup so that I can continue working. I can't run tools like SQL Management Studio either.
Anyone know of a workaround to this issue?
EDIT: It appears the reasons these files are blocked is because they match the signature of a Virus/Win32.WGeneric.dxsfnc.

Visual Studio Professional 2022 17.4.0 will not discover tests in test explorer

After updating to 17.4.0 I can not discover tests in test explorer. Is anyone else experiencing this?
The output I see in test explorer after selecting run all tests is "test discovery finished: 0 tests found".
I am running .Net4.7.2, Selenium, Specflow and NUIT.
I have searched the web w/o finding much.
I tried to update any nuget packages that may effect this with no resolve.
I also restarted visual studio and my PC.
Built and cleaned the solution several times
At this point I am going to rollback to the previous version of visual studio 2022.
I ended up rolling the version back to 17.1.6 and I am now having no problems.
The steps to do this are here: https://learn.microsoft.com/en-us/visualstudio/releases/2022/release-history
I have the same problem
I ended up with cleaning Temp folder and update NUnit packages
For few days it was ok and it worked
After I wanted to work on another project and I made the same things it was not ok anymore
I ended up rolling back to the same version 17.1.6 because for newer versions I had a problem with debug when I wanted to debug Selenium tests

VS2017 - devenv.exe - Unknown Hard Error

One of our developers is experiencing a system Warning popup when he tries to launch a solution in VS2017. all was working well before today
"devenv.exe - System Warning
Unknown Hard Error"
VS shuts down, whether he presses ok or not and MSBuilds.exe are left in task manager
We tried:
- repairing VS2017
- un-install-restart-reinstall VS2017
Had to remove all .NET components from the machine and re-install em - got it working. Very close to rebuilding the PC

Visual Basic Command Line Compiler has stopped working

Yesterday, I could work with Visual Studio 2010 without any problem. However, today after I turned on the computer and tried to open my project (Web application with Visual Basic.NET) on VS2010 again, I got a message box showing as below:
Later, I found out after I tried deleting suo file that this message box will show up whenever I open some file in Visual Studio so I tried to run the application. Then, I found another message box popped up as below:
And after I close the message box, I finally got this window
It says:
Compilation Error
Compiler Error Message: The compiler failed with error code -1073741511.
I have searched for the solution through the internet. I have found a few methods that might solve the solution such as scanning for virus, using clean boot. I have also tried repairing and uninstalling VS2010 and .NET framework but none still work. Right now, I have no idea what I should to do make it work again.
Anyway, I realized that there is Windows auto update when I turned off the computer. Not so sure if this related to the problem (I used Window 8.1).
After formatting Drive C to reinstalling everything again, I found out that the reason might be Windows update. I have started from reinstalling Windows 8, all necessary programs (except Visual Studio and SQL Management Studio) and all window updates required for upgrading to Windows 8.1.
When I successfully got to Windows 8.1, I created system restore point and try installing VS2010 and all windows update. The result had caused the same error I posted in this thread.
After that, I restored back to original state and installed VS2010 first. Then installed some of windows updates. This time, I decided to install all updates except the ones that have publish date after 10/11/2015. The result is satisfied. I don't get this error again.
Later, Hans Passant help me find the actual cause of this problem. Please see this link:
Why do I get an error for "__CrtGetFileInformationByHandleEx " when I try to compile

HTTP 302 message in TFS build causing failure

At my company we use Visual Studio Online for source control and have an onsite build server running TFS 2013 Update 5 that we use for builds and integration tests. We have an integration build scheduled to run at midnight Sunday through Thursday. On random nights, the build will fail with the following error message:
Please contact your administrator. There was an error contacting the server.
Technical information (for administrator):
HTTP code 302: Found
This message shows up for nearly every source file in the solution.
However, we have never experienced this error when running the build manually during the day.
Can anyone provide any insight as to what might be going on and how I can resolve it?
Visual Studio service may be maintained from time to time. Check Visual Studio Online Service status first when the error occur from this website: https://www.visualstudio.com/en-us/support/support-overview-vs.aspx.