how to fix visual studio vulnerabilities

Tate, Corey (CCL) 0 Reputation points
2024-03-13T15:35:06.6566667+00:00

how to fix visual studio vulnerabilities

Bing | Bing Search APIs | Bing Visual Search API
Developer technologies | Visual Studio | Setup
Developer technologies | Visual Studio | Other
{count} votes

2 answers

Sort by: Most helpful
  1. Tianyu Sun-MSFT 34,441 Reputation points Microsoft External Staff
    2024-03-14T08:20:32.6433333+00:00

    Hello @Tate, Corey (CCL),

    Welcome to Microsoft Q&A forum.

    Some new features/tools were added into newer version of Visual Studio and make the behavior of updating VS different.

    Are you using VS 2017, VS 2019 and VS 2022, or VS 2015, VS 2013 or older versions?

    For VS 2017, VS 2019 and VS 2022, I think you can consider using command updateall.

    Related blog: Update all Visual Studio installations with a single click! and document: Install, Update, Modify, Repair, Uninstall, and Export commands and command-line parameters

    updateall, Updates all of the installed products in sequential order. Works with --quiet and --passive parameters.

    It can be used like => "C:\Program Files (x86)\Microsoft Visual Studio\Installer\setup.exe" updateall --quiet. The command will firstly check if the installed Visual Studio can be updated, if VS can be updated, then it will execute to update VS.

    Best Regards,

    Tianyu


    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.

    1 person found this answer helpful.

  2. Bruce (SqlWork.com) 77,686 Reputation points Volunteer Moderator
    2024-03-13T16:36:52.2266667+00:00

    for visual studio itself, you run visual studio installer and run updates. for the .net runtimes you run windows update. for the nuget packages you use, you run nuget solution manger and update the nuget package versions.

    0 comments No comments

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.