|
I recently had to uninstall then reinstall my VS 2008 instance. I reinstalled with VS 2008 SP1 and everything works ok. The problem I have now though is after I open any WPF project, the first time I open a XAML file (or if one was reloaded automatically by the project on startup), the statusbar says "Initializing toolbox" for 30seconds to about a minute.
I switch projects a lot and this really kills productivity. I don't remember this happening before. Does anyone have any suggestions for a fix?
I tried disabling AutoToolboxPopulate in the WinForms Designer options but that didn't help. actiprosoftware.com - WPF ribbon, docking/mdi, navbar, explorerbar, breadcrumb, gauge, bar code, wizard controls & much more |
| Bill Henning Monday, October 20, 2008 2:44 PM |
This should really just happen once and not for each project. I'm just guessing here but maybe something went wrong with the toolbox data files where the toolbox items get cached. You could try deleting them to see if that helps:
-
Exit Visual Studio
-
Navigate to your user profile directory for Visual Studio (this is found at %USERPROFILE%\AppData\Local\Microsoft\VisualStudio\9.0)
-
Delete the TBD files found there (they are usually hidden files)
-
Re-start Visual Studio and open your WPF project - the toolbox will be initialized.
Hopefully that will prevent it from doing this for every project.
BTW, The WPF Designer has nothing in common with the WinForms Designer, changing any of the settings there will have no effect on the WPF Designer.
Marco Goertz \ Sr. Dev Lead \ WPF Designer "Cider" \ Microsoft - Marked As Answer byBill Henning Wednesday, November 12, 2008 8:04 PM
-
|
| Marco Goertz - MSFT Thursday, November 06, 2008 4:27 PM |
Ihave the same problem, can anyone please advise?? |
| pixelim Thursday, November 06, 2008 4:01 PM |
This should really just happen once and not for each project. I'm just guessing here but maybe something went wrong with the toolbox data files where the toolbox items get cached. You could try deleting them to see if that helps:
-
Exit Visual Studio
-
Navigate to your user profile directory for Visual Studio (this is found at %USERPROFILE%\AppData\Local\Microsoft\VisualStudio\9.0)
-
Delete the TBD files found there (they are usually hidden files)
-
Re-start Visual Studio and open your WPF project - the toolbox will be initialized.
Hopefully that will prevent it from doing this for every project.
BTW, The WPF Designer has nothing in common with the WinForms Designer, changing any of the settings there will have no effect on the WPF Designer.
Marco Goertz \ Sr. Dev Lead \ WPF Designer "Cider" \ Microsoft - Marked As Answer byBill Henning Wednesday, November 12, 2008 8:04 PM
-
|
| Marco Goertz - MSFT Thursday, November 06, 2008 4:27 PM |
Hi,
It didn't work for me. I deleted all .tbd files and restarted VS. When I opened a xaml file it again started by initializing toolbox and created all those file again which I deleted.
Any other ideas?
iffi |
| iffi raja Thursday, November 27, 2008 12:33 PM |
I renamed the 9.0 folder and that solved the problem for me. Codigo ergo sum |
| PA66 Monday, December 15, 2008 7:48 AM |
Hi,
Is there any way to disable the Toolbox?
Opening a xaml file, (including the App.xaml,) takes up to 2 minutes on my system. I've tried all the suggested workarounds in this thread with little discernible success.
Please help!
Danny |
| DannyAsher Tuesday, February 17, 2009 10:03 AM |
If you are happy to work without the design surface and the toolbox (i.e. just use the XAML editor only), you may be able to work around the problem by disabling the designer (Tools...Options...Text Editor...XAML....Miscellaneous....Always Open Documents In Full XAML view checkbox). However this is a fairly extreme work around.
As Marco mentioned, this is not normal behavior; the toolbox should only initialize when VS is installed and/or the Toolbox is reset/the TBD files cannot be read. Another possibility is that Visual Studio doesn't have proper access to the TBD file directory in the account you're working in; try checking the ACLs on %USERPROFILE%\appdata\local\microsoft\visualstudio\9.0 and make sure you have write access to the folder? I can't imagine why this would have got changed however.
Mark Mark Wilson-Thomas - Program Team - WPF & SL Designer for Visual Studio - posts are provided 'as-is' |
| Mark Wilson-Thomas Wednesday, February 18, 2009 9:16 PM |
Hi, I had a similar problem yesterday. What I did is I just renamed the folder as described by PA66 and it worked. However as Mark explained there could be some problem with ACLs because after renaming and uponVS restart it created the folder again but this time no problems at all.
Hope this helps
iffi |
| iffi raja Thursday, February 19, 2009 8:26 AM |
i try but every solution not work on my pc wich is Window Vista 64 bit edition...
any ideas ? - Edited byAle cts Thursday, September 10, 2009 8:51 AMerror
-
|
| Ale cts Thursday, September 10, 2009 8:20 AM |