Issue loading my visual studio project

Jonathan Brotto 1,076 Reputation points
2022-03-04T14:43:39.933+00:00

My project was able to load till yesterday. Now I get this error when I open the solution file.

This is an Excel VSTO add-in project.

One or More projects in the solution were not loaded correctly.
Please see the Output Window for details.

An error was encountered while opening associated documents the last time this solution was loaded. Document load is being skipped during this solution load in order to avoid that error.

180231-image.png

Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,869 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Barrett, Gary 6 Reputation points
    2023-03-29T10:06:49.5466667+00:00

    This started happening to me too this week after I ran Visual Studio installer and it updated my Visual Studio to v17.5.3.

    What fixed it for me was deleting file SolutionName.sln.DotSettings.user

    My guess is there must have been something in the file that was incompatible vs the updated Visual Studio.

    Or if you have SolutionName.suo file then try deleting that too.
    Both file types store user-specific solution options, like your debug settings, breakpoint info, etc so you will lose that but these files should not be checked into source code anyway so losing those settings should not be an issue I think.

    Also see this for more ideas: https://stackoverflow.com/questions/18360453/why-does-it-take-sooo-long-to-load-my-solution-in-visual-studio/18360454

    1 person found this answer helpful.

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.