0

We were trying to create a winform application , Vs2022 and .Net7.

Tried for .Net 6 as well, its the same

But we were not able to drag&drop or double click to add the control to forms.

Can anybody give any pointers to fix this

VS 2022 version : Microsoft Visual Studio Community 2022 (64-bit) - Current

Version 17.4.4 enter image description here

after doing Right-click the Toolbox and turn off Show All below is the screenshot of toolbox, All Windows Forms group option or item itself is not showing up as in the screenshot below

enter image description here

ezycoder
  • 103
  • 2
  • 9
  • Right-click the Toolbox and turn off `Show All`. What remains? In case you still don't see usable Controls (you have Web Elements there), post the content of your `.csproj` file – Jimi Jan 30 '23 at 15:48
  • Thanks Jimi for your response , Cs projfile content for your ref WinExe net7.0-windows enable true enable – ezycoder Jan 30 '23 at 22:03
  • You should know that any update must be added to the body of the question, not in comments -- You didn't say what happened when you set off `Show All`. Do you have Controls under the `All Windows Forms` group? – Jimi Jan 30 '23 at 22:11
  • https://stackoverflow.com/questions/34516078/visual-studios-toolbox-is-empty – Hans Passant Jan 30 '23 at 22:48
  • 1
    Close VS, delete the hidden `.vs` folder that's in the Solution's main directory. Restart, reset the Toolbox. If you still don't see your Controls, there's something wrong with the installation – Jimi Jan 31 '23 at 02:10

0 Answers0