Why designer page does not load in visual studio?

Jerome Thiel 0 Reputation points
2024-09-29T00:08:17.0566667+00:00

When I click on the deisgner code. Visual studio does not show the graphical designer page. It errors and shows call stack.

Error message: base class can not be loaded. make sure it is referenced and built.

It is referenced within a program.exe file type with many other classes

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,101 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Anna Xiu-MSFT 28,756 Reputation points Microsoft Vendor
    2024-09-30T03:00:36.98+00:00

    Hi @Jerome Thiel, 

    Welcome to Microsoft Q&A! 

    Which version of Visual Studio are you using? What is the target framework and your project type? 

    You can try the following workarounds:

    1. Update your VS to the latest version.
    2. Repair your VS though Visual Studio Installer > More > Repair.
    3. Switch to higher target framework for your project.
    4. Please check if the project's references load correctly.
    5. Close all running VS instances and delete the hidden .vs, bin and obj folders in the project folder. Then, clean and rebuild the solution.  
    6. Create a new project and check if it occurs in new project

     

    If the designer still failed to load, please share us more details or screenshots to investigate it further.  

    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.