My custom Toolbox content is missing

John Marsing 1 Reputation point
2023-04-15T16:42:29.1833333+00:00

I've save a lot of code snippets in Toolbox and now they're gone! how can I recover them? This isn't the first time this has happened to me. Thanks in Advance John Marsing I'm using... Microsoft Visual Studio Community 2022 (64-bit) - Current Version 17.4.5

Developer technologies Visual Studio Other
{count} votes

1 answer

Sort by: Most helpful
  1. Anna Xiu-MSFT 31,056 Reputation points Microsoft External Staff
    2023-04-17T08:24:41.4733333+00:00

    Hi @John Marsing

    Welcome to Microsoft Q&A! 

    What is your project type? For some project types, Toolbox may not show any items. The .NET version that your project targets also affect the set of controls visible in Toolbox. You can change the target framework from project properties. 

    Besides, you can right click on Toolbox and choose “Show All” to show all controls.

    If “Show All” doesn’t work, you can right-click on Toolbox > choose “Choose Items” > browse to your DLL > add it to Toolbox. 

    Meanwhile, please go to Tools > Options > Windows Forms Designer > General > ensure that “Automatically Populate Toolbox” option is set to “true”.

    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.  

    1 person found this answer helpful.
    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.