Having trouble with VS 2022

UtterlyInsane 0 Reputation points
2024-04-03T21:58:40.14+00:00

I'm having some odd problems with VS 2022 Version 17.9.5. After the update there are a number of behaviors that are plaguing me...

#1 - If I have a project open and need to switch to a new project... from the file menu I select "Close Solution". Which then kicks me to the Open / Create dialog. If I choose to select another project in the quick link list, I select a different project, and it opens the project, but just for a brief second, and then inexplicably closes and reopens the previous project and I am back where I begain!

#2 - I use Azure Devops for Code mangement. I work from multiple inter-office locations. I am dilligent about pulling and pushing changes before walking away from a device. Recently, I was looking for a change that should have been synced to both machines. Unfortunately neither machine was showing a GIT change. and the source on Devops did not reflect any changes. I checked both devices, neither was showing any outstanding edits... I forced a sync on both devices and the changes appeared. This also manifested in a new problem... pulling up code and compiling has become laborious. Things that compile on one machine throw errors on another despite all the code files being up-to-date. The only fix is to physically wipe out the project bin file... thoughts?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,861 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,131 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Anna Xiu-MSFT 29,006 Reputation points Microsoft Vendor
    2024-04-04T09:21:55.0933333+00:00

    Hi @UtterlyInsane, 

    Welcome to Microsoft Q&A! 

    #1. According to your description, I tried to reproduce your issue. On my side, if I select another project to open, it will open correctly.

    If you want to open a different project, you can also try clicking on File menu > Open > Project/Solution.

    Besides, please open the Visual Studio Installer > More > Repair vs.

    Then, launch your Visual Studio 2022 in Safe Mode (run devenv /SafeMode in Developer Command Prompt for VS 2022) and check that it works properly. 

    #2. Regarding this issue, you need to report it in Azure DevOps forum for help. Thanks for your understanding! 

    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.