今天碰到一件很奇怪的事情,
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"
在使用Visual Studio 2008的RDLC报表时,遇到工具箱中的报表项(如文本框、图表、表格等)在设计状态下消失的问题。尝试打补丁和重装VS无效。解决方案是删除隐藏文件夹C:Documents and SettingsMYUSERNAMELocal SettingsApplication DataMicrosoftVisualStudio9.0中的四个隐藏文件(toolbox.tbd、toolbox_reset.tbd、toolboxIndex.tbd、toolboxIndex_reset.tbd),这些文件是工具箱的缓存,删除后会自动生成,问题得到解决。此外,若用户控件也消失,可通过VS菜单:工具 -> 选项 -> Windows Form Designer -> General,将“AutoToolboxPopulate”设置为“True”来修复。
262

被折叠的 条评论
为什么被折叠?



