A product matching the following parameters cannot be found during VS Installation

旧城冷巷雨未停 提交于 2021-01-21 04:10:53

问题


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

  1. Open a command prompt with admin privileges
  2. 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
  3. 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

  1. Please navigate to C:\Program Files x86 and search for a Microsoft Visual Studio folder. Then right click and delete that folder.

  2. Then remove only Visual Studio folders from these 2 locations, if they are there: C:\Users\YOUR_USER\AppData\Local\Microsoft
    C:\ProgramData\Microsoft

  3. Lastly, please type regedit in the lower left search field to access the registry editor... Once it's open navigate to HKEY LOCAL MACHINE > SOFTWARE > MICROSOFT and 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:

  1. Restart.

  2. Make sure your Windows is up-to-date, check for any pending Windows Updates.

  3. Disable any anti-virus/firewall temporarily (this includes Windows Defender). Installer needs unblocked access to the internet to access Microsoft Servers.

  4. Clean up the (C:\Windows\Temp) folder.

  5. 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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!