今天碰到一件很奇怪的事情,
Visual studio 2008 RDLC报表在设计状态时,工具箱中的报表项(文本框、折线图、表、子报表等)竟然消失了,打补丁,重装VS都没有解决,最后解决办法如下:
http://stackoverflow.com/questions/799934/toolbox-issue-for-rdlc-in-design-mode-vs2008
fixed this by going into my profile as follows:
C:\Documents and Settings\MYUSERNAME\Local Settings\Application Data\Microsoft\VisualStudio\9.0
toolbox.tbd
toolbox_reset.tbd
toolboxIndex.tbd
toolboxIndex_reset.tbd
There are four HIDDEN files in there that make up what is apparently the toolbox cache. If you erase them, they will be re-generated and #13119 will go back to General. As I said, these files appear to be hidden so configure the file explorer accordingly.
Second problem: my User controls disappeared from the toolbox.
I was able to fix it by going into the VS menus:
Visual Studio "Tools" menu
"Options" submenu
"Windows Form Designer" tab "General" tab Set "AutoToolboxPopulate" to "True"