Visual Studio 2022 closes automatically when running a solution

Fernando Uriel Ruiz Miranda 0 Reputation points
2024-12-02T16:03:30.29+00:00

I have a problem with Visual Studio, I already tried installing another version like 2019 but the problem persists, when running a solution the program closes automatically without marking any visible problem, it simply closes, and the problem occurs not only with that solution but with several, I am working with SSIS so I cannot deactivate that extension because otherwise my solution does not work

Someone help me please...

PS: I have Visual Studio Professional 2022

I tried installing a different version I tried running without debugging

Developer technologies Visual Studio Other
{count} votes

1 answer

Sort by: Most helpful
  1. Anna Xiu-MSFT 31,056 Reputation points Microsoft External Staff
    2024-12-03T02:31:07.6833333+00:00

    Hi @Fernando Uriel Ruiz Miranda

    Welcome to Microsoft Q&A! 

    Does the VS2022 work normally before? Are you using the latest version of VS2022? If no, please update it to the latest version with Visual Studio Installer. 

    Please close all running VS instances and rename (or delete) every ComponentModelCache folders under this path: C:\Users\username\AppData\Local\Microsoft\VisualStudio\17.0_XXXXX, restart VS and check that the VS works properly. 

    If it doesn’t work, please try reinstalling the SSIS extension. 

    https://marketplace.visualstudio.com/items?itemName=SSIS.MicrosoftDataToolsIntegrationServices

    If you have any anti-virus software or security management 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.

    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.