Error in installation vs community

Matheus Rodrigues 26 Reputation points
2022-09-07T01:55:49.033+00:00

I'm trying to install visual studio community but when I click in install, it doesn't show the options to install, only follow error: the install operation failed. If I install other version ( professional or enterprise) is ok, but community not. Why?

Developer technologies | Visual Studio | Setup
{count} vote

Accepted answer
  1. Anna Xiu-MSFT 31,056 Reputation points Microsoft External Staff
    2022-09-08T09:16:59.56+00:00

    From looking at your logs, the Product 'Microsoft.VisualStudio.Product.Community,version=17.2.32630.192,chip=x64,productarch=x64' is not available.

    Please go to: C:\ProgramData\Microsoft\VisualStudio\Packages\_Instances\8d2e84da and backup the state.packages.json file.
    Then, open the state.packages.json file and remove the following section:
    {"id":"Microsoft.VisualStudio.Product.Community","version":"17.2.32630.192","chip":"x64","type":"Product","productArch":"x64"}

    After that, retry the installation.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.