Vs2022 download error, unable to install microsoft.netcore.hostpath

梓睿 李 6 Reputation points

I tried to download vs2022 in Windows10 21H1, and imported the configuration of vs2019 into vs2022, but when vs2022 was downloaded, Vs install tip can't install the Core Microsoft.Net. HostPath computer restart again also does not have any effect, I think it will lead to the mistake I can't open. Net Core project, and the fact is that, I hope the developers can tell me the solution as soon as possible, thanks!

An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,502 questions
Visual Studio Setup
Visual Studio Setup
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
937 questions
{count} votes

3 answers

Sort by: Most helpful
  1. 梓睿 李 6 Reputation points

    Hi,@Anna Xiu-MSFT

    For some network reasons, I couldn't open Onedrive, so I chose Github instead

    Unable to install the Core Microsoft.Net. The HostPath problem seems to have been resolved, I use vs installer fixes the repair function, but now it appeared the following two questions:


    The vslogs.zip file I uploaded to Github was created after I fixed it three times

    1 person found this answer helpful.
    0 comments No comments

  2. Anna Xiu-MSFT 23,251 Reputation points Microsoft Vendor

    Hi @梓睿 李 ,

    Please try to delete the following corrupted packages and repair your installation.

    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.

    0 comments No comments

  3. Mihrteab Bahiru 1 Reputation point

    Hi there, I ran into the same problem and I tried searching for solution on the internet, and surprisingly I couldn't find one even on the official Microsoft website. Unfortunately the issue was simple, maybe that's why the team didn't address it quickly. The solution is simple, if you have and type of security software's like smadav, windows defender or any type of antivirus on, try disabling it and re-install or repair VS, or if there is a setting enabled like "auto-blocking" or similar setting like that in your antivirus, disable that and try re-installing or repairing VS. I hope this helps, thanks.

    0 comments No comments