Update NuGet 1.6 keeps failing - visual-studio-2010

I use VS10 and recently NuGet1.6 came out and I tried to do normal update and it kept failing with the following message,
"Install Error : VSIXInstaller.SignatureMismatchException: The signature on the update version of 'NuGet Package Manager' does not match the signature on the installed version. Therefore, Extension Manager cannot install the update.
at VSIXInstaller.Common.VerifyMatchingExtensionSignatures(IInstalledExtension installedExtension, IInstallableExtension updateExtension)
at VSIXInstaller.InstallProgressPage.BeginInstallVSIX(SupportedVSSKU targetAppID)
"
Then I read somewhere someone said just uninstall NuGet and re-install it, well I uninstalled NuGet in the Control Panel of Windows, because the Uninstall button of NuGet in VS10 is grayed out (why is this the case?). But still could not install NuGet1.6, it run into the same error. Could someone help please!
Thanks.

You might need to Run Visual Studio 2010 As Administrator in order to get the NuGet 1.6 extension installed.
I agree that it is silly that the upgrade from within VS2010 doesn't work. I have tried this several times across several machines (a home workstation without any restrictions, a work machine with tied down profiles) and it always fails.

There is a known issue when upgrading NuGet to 1.6 from an older version when running Visual Studio SP1. From the NuGet 1.6 Release Notes:
If you are running VS 2010 SP1, you might run into an installation
error when attempting to upgrade NuGet if you have an older version
installed.
The workaround is to simply uninstall NuGet and then install it from
the VS Extension Gallery. See http://support.microsoft.com/kb/2581019
for more information.
Note: If Visual Studio won't allow you to uninstall the extension (the
Uninstall button is disabled), then you likely need to restart Visual
Studio using "Run as Administrator."

Run Visual Studio 2010 Administrator, and the UnInstall option is available.
Uninstall --> Restart --> Install new version.

I couldn't run Visual Studio as Administrator, so I just uninstalled the extension from VS, downloaded the VSIX file from the Visual Studio Gallery, then ran the install.

Related

Install SSDT for Visual Studio 2017 community fails on recursion too deep

"Setup Failed" Recursion too deep; stack overflowed 0x800703E9.
I have windows 10 and newest visual studio version. I have tried rebooting to make sure I have as many resources as possible. I have 4g ram.
If the SSDT installer gives you multiple instances of Visual Studio to choose from, try the "new" option.
I ran into this problem trying to install SSDT 15.8.1 on Windows Server 2012 R2 with the latest version of Visual Studio 2017 (v15.8.6) already installed. The SSDT installer gave me 2 options in a dropdown box.
Install tools to this Visual Studio 2017 instance:
Visual Studio 2017
Install new SQL Server Data Tools for Visual Studio 2017
When I chose the first option: Visual Studio 2017 (presumably the existing instance), I ran into the cryptic "recursion too deep" error. I installed the SSRS extension for VS (as suggested by others on Stack Overflow) and tried running the SSDT installer again for the existing Visual Studio 2017 instance. I got the same "recursion" error.
I tried one more time, but this time chose the 'Install new SQL Server Data Tools for Visual Studio 2017' option. This time the install process completed!
Apparently there is an installer inconsistency between the latest versions of SSDT and Visual Studio. The suggested fix is to start with a previous installation of Visual Studio 2017, install the latest SSDT on top of that, and then upgrade Visual Studio. This is a very time consuming fix. It appears this is only necessary for the SSIS components - the SSAS and SSRS pieces are available as Extensions within VS, and I believe they still install successfully from there.
https://developercommunity.visualstudio.com/content/problem/258117/ssdt-failed-to-install-vs-2017-pro-1572.html
Please re-run the VS community 2017 installer or go to Control Panel-Programs and Features, uninstall the previous SSDT version for VS 2017, then re-install it, you can have a look at this similar issue.
If this issue persists, please use http://aka.ms/vscollect to gather the installation logs and find vslogs.zip under the %temp% folder, then upload the file to Onedrive and share the link here.
You should uninstall the current version of SSDT before install a new version.
If your computer have some pages blocked, you could download the specific version offline installer (Download the header, then use SSDT-Setup.exe /layout [Folder]) for the former version and new version of SSDT.
How I got past it:
Uninstall the Visual Studio extensions for Reporting Services (and Analysis Services) projects in case if you going to select them during SSDT set up. Note: remember to run VS as administrator to do the uninstall.
Reboot VS2017 (just out of general principle.)

Visual Studio 2015 Initializing Part Nuget.PackageManagement.VisualStudio.VSolutionManager must be called on UI Thread

While attempting to build or open a project in Visual Studio 2015 14.0.25431.01 Update 3 which I recently updated, I keep getting errors around nuget package management. Whenever I build the project the first time after opening VS, I get the error message below. I also get it when I try to open the nuget package manager dialog. Anyone else experience this?
An exception was thrown while initializing part
"Nuget.PackageManagement.VisualStudio.VSolutionManager".
GetFullVsVersionString must be called on the UI thread.
I had the exact same issue as you and I was able to get NuGet to work again for me by doing the following simple steps.
Completely close all versions and windows of Visual Studio
Reopen a blank Visual Studio window
Navigate to Tools -> NuGet Package Manager -> Package Manager Settings
Press "OK"
Open the project you were having issues with
Try opening "Manage NuGet Packages..." or running your project
Your issue should now be fixed!
I had originally tried uninstalling NuGet and reinstalling it through the "Extensions and Updates" under "Tools" to no avail. The solution I listed above fixed it instantly.
It appears reinstalling Nuget Package Manager for Visual Studio in the Extensions & Tools dialog may have fixed it.
-First
Delete all cache on C:\Users\AppData\Local\Microsoft\VisualStudio\14.0\ComponentModelCache
-Second
Reinstall Nuget package manager by Tools->Extensions and Updates. After that restart your visual studio
-Third
Go to Tools->Nuget Package Manager->Package Manager Settings of blank project (for create new cache), and after that, try on your project
I was getting this with a Visual Studio Extension from Telerik. Once I uninstalled it went away.
In VisualStudio 2015 -> Tools -> Extensions and updates -> Online: Search for the string: "Fix NuGet GetFullVsVersionString must be called on the UI thread"
and install the given fix.
Alternatively you can download the fix at :
GetFullVsVersionString fix
Now in February 2018, the latest NuGet Package Manager version 3.4.4.1321 does not have the fix included, so the patch must be applied.
As Steve Greene's answer describes, I also had the Telerik extension installed, so that might have caused the problem.
This problem can happen if you have Xamarin for Visual Studio installed. There is a NuGet bug reported about this.
If you have Xamarin component in one of your projects and then try to use NuGet then NuGet can be called on the wrong thread.
There is a separate Xamarin extension that can be installed to fix this problem with Xamarin for Visual Studio.
Run the Visual Studio as 'Run as administrator' mode.
If it does not work then, if you have other version of Visual Studio like 2013
then uninstall all and install again.
This is what worked for me (VisualStudio 2015):
Uninstalling NuGetPackageManager in Tools->Extensions and Updates.
Closing all open VisualStudio.
Deleting the cache on C:\Users\user\AppData\Local\Microsoft\VisualStudio\14.0\ComponentModelCache
Restart PC
Install NuGetPackageManager in Tools->Extensions and Updates in a blank application or on the startup VisualStudio screen.
Close every VisualStudio again.
Finally it should work.
I had to follow this process or it did not work.

Visual Studio Installation Failing

Previously I have Visual Studio 2012 Ultimate version in my system. Its is working fine.
Later I am trying to install 2013 also but it is not installing properly and giving error message like attached image.After that VS2012 also is not working properly. Then I tried to Install Vs2012 also again. But this installation process also giving same error. I can not able to upload image due to reputation.
This is the exact error:
"Visual Studio Core Fetures Fatal error during installing.
Microsoft Visual C++ 2012 Core Libraries Package failed.
Microsoft Visual C++ 2012 Microsoft Foundation Class Library Package failes."
Please help me to install visual studio 2012 & 2013.
Because Visual Studio requires many components to be installed, and if they are not, VS will install them. However, when you uninstall VS, it will not remove these components automatically because it does not record which component is installed by it and which exists before VS is installed. Other applications might need these components to work.
When you uninstall VS2012, you really only remove VS itself. Then you try to install VS2013 and meet an error, and that may be the problem. To make things worse, you did not clean uninstall VS2013 either, which caused the later errors when you try to reinstall VS2012.
You may as well try to clean uninstall VS 2012 and the same goes for VS 2013, just some Google work.
I hope this will help you a little.

Apache cordova not installing on VS2013

I tried to install apache cordova 3 on Visual Studio 2013 ultimate but whenever I install it I get this:
I tried uninstalling VS2013 and reinstall it without any luck I even tried VS2013 community the same and the provided link seem to be not working because I tried all commands in the documentation and all of them gave me error.
You don't need to uninstall Visual Studio 2013. You need to uninstall VS Tools for Cordova. You probably have this listed in your add/remove programs, separately then Visual Studio 2013.
Close all instances of VS.
Use add/remove program to remove the program in my attached screenshot.
Run the commands listed under resolution on http://support.microsoft.com/en-us/kb/3014133
Restart PC
Always download latest copy from http://www.microsoft.com/en-us/download/details.aspx?id=42675
Do you also happen to have any version of VS 2015 installed?
Ok I solved this problem with these steps:
Uninstall VS 2013 Update 4.
Install VS 2013 Update 3.
Install Apache Cordova CTP2 and uninstall it completely
Install VS 2013 Update 4.
Install Apache Cordova CTP3.

Extension for Visual Studio 2010 says it installed, but Studio does not see it and can't uninstall

I have built and tested (with a spawned debug run of Visual Studio) a Visual Studio 2010 extension. When I double-click the Release version of the extension, it says, it successfully installed to Studio.
However, when I restart Studio, it does not see the extension in the Extension Manager, and the extension functionality is not working. Because it is not seen in the Manager, I can't even uninstall it and try again.
Why is this happening and what to do?
I did cleanup all the Registry keys that have the name of the extension in their name or value. Still the problem persists.
I moved the project to another location, renamed, and this time it did install again, but again, Studio Extension Manager does not see it.
I did build and install extensions before and I am following the same steps, correctly I think.

Resources