问题
I've tried all the solution available at StackOverflow and VS developer community but I'm unable to resolve the error saying.
A product matching the following parameters cannot be found:
channelId: VisualStudio.15.Release
productId: Microsoft.VisualStudio.Product.Community
Here are the solutions that I've tried.
- tried deleting the VS folder in Program Files
- tried running
InstallCleanup.exe -i with cmd(as administrator) - tried running
InstallCleanup.exe -f with cmd(as administrator) - tried deleting VS packages from Program Data
- tried installing with new and old both packages
回答1:
I had this problem and was able to solve with following steps
- Open a command prompt with admin privileges
- Run following command (this will clean up previous install cache. -full option is important)
"%programfiles(x86)%\Microsoft Visual Studio\Installer\resources\app\layout\InstallCleanup.exe" -full - Restart the installer
Hope this helps. Just to add, I did not have to uninstall VS 2015 for this to work.
回答2:
Follow these steps and your issue will be resolved:
UNINSTALL
Please navigate to C:\Program Files x86 and search for a Microsoft Visual Studio folder. Then right click and delete that folder.
Then remove only Visual Studio folders from these 2 locations, if they are there:
C:\Users\YOUR_USER\AppData\Local\MicrosoftC:\ProgramData\MicrosoftLastly, please type regedit in the lower left search field to access the registry editor... Once it's open navigate to
HKEY LOCAL MACHINE > SOFTWARE > MICROSOFTand check for a Visual Studio folder there. If you see one there, right click and delete the folder.
BEFORE INSTALLING AGAIN
Before you attempt your installation again, make certain you are following these guidelines below:
Restart.
Make sure your Windows is up-to-date, check for any pending Windows Updates.
Disable any anti-virus/firewall temporarily (this includes Windows Defender). Installer needs unblocked access to the internet to access Microsoft Servers.
Clean up the (C:\Windows\Temp) folder.
When launching the Installer, Right Click and select "Run as Admin" Overlooking the above steps results in most installations failures.
来源:https://stackoverflow.com/questions/47578038/a-product-matching-the-following-parameters-cannot-be-found-during-vs-installati