Visual Studio 2022 Enterprise class library not load solution

Phạm Quang Hưng 0 Reputation points
2024-10-15T13:59:15.81+00:00

My MVC website project has two class libraries that can't be loaded in Visual Studio, and both of these libraries have Web.config files. Other classes can be opened because they don't have Web.config files. However, I can open the same project on another machine without any issues. Only my machine has this problem. When I click reload, it shows this error" A project with that name is already opened in the solution."User's image

Developer technologies | Visual Studio | Other
Developer technologies | Visual Studio | Other
A family of Microsoft suites of integrated development tools for building applications for Windows, the web, mobile devices and many other platforms. Miscellaneous topics that do not fit into specific categories.
{count} votes

1 answer

Sort by: Most helpful
  1. Anna Xiu-MSFT 31,131 Reputation points Microsoft External Staff
    2024-10-16T03:19:35.0966667+00:00

    Hi @Phạm Quang Hưng, 

    Welcome to Microsoft Q&A! 

    It may be related to warnings about packages with known vulnerabilities.

    Please update your package references to the latest version. You can update your packages by right-clicking on project > Manage NuGet Packages > go to the Updates tab to see available updates. 

    For more information, please see NuGet Warnings NU1901, NU1902, NU1903, NU1904. 

    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.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.