Visual Studio 2022 Install Incomplete

Richie Ray 1 Reputation point
2022-11-04T03:46:47.77+00:00

I'm trying to install Visual Studio 2022 Enterprise version 17.3.6 on a Windows 2019 Server. I already have Visual Studio 2019 installed on this machine. Nothing special here, just simply trying to install. Granted it's a warning but I would like to resolve the issue.

Package 'Microsoft.VisualStudio.TestTools.ProjFS.WindowsFeature,version=17.2.32408.312,chip=x64' failed to install.

    Command executed: "C:\Windows\system32\dism.exe" /online /quiet /norestart /Enable-Feature /FeatureName:"client-projfs" /All /logPath:"C:\Users\reichie\AppData\Local\Temp\dd_setup_20221103175018_441_Microsoft.VisualStudio.TestTools.ProjFS.WindowsFeature.log"  
    Return code: 14081  
    Return code details: The referenced assembly could not be found.  

256988-image.png

Community Center | Not monitored
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anna Xiu-MSFT 31,056 Reputation points Microsoft External Staff
    2022-11-04T08:45:18.29+00:00

    Hi @Richie Ray ,

    Welcome to Microsoft Q&A!

    Please try to fix DISM:

    1. Run the following command: DISM.exe /Online /Cleanup-image /Restorehealth
      Note: It might take several minutes for the command to complete
    2. Run the following command: DISM.exe /Online /Cleanup-image /startcomponentcleanup
    3. Run the following command: sfc /scannow
      Note: It might take several minutes for the command to complete
    4. Enable TrustedInstaller
      sc config trustedinstaller start=auto
      reboot the system.
    5. Repair the installation from the VS Installer

    Meanwhile, please check your Windows Updates and ensure that all updates are installed. If you have anti-virus software, please temporarily disable them.

    Sincerely,
    Anna
    *
    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


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.