[SOLVED] VS2015 toolbox - Wisej icons issue

Answered Closed
0
0

First of all, let me say everything is fine on VS2012 and VS2013.

On VS2015, the issue started by showing duplicated icons – every icon showed twice. On the Extensions folder, every icon was showing 3 times. That was some 4 or 5 releases ago.

As releases passed by and none solved the issue, I took some actions, every day more serious:

  1. Reset Toolbox
  2. Close VS2015, remove Wisej and install it again.
  3. Close VS2015, remove Wisej, restart the computer and install Wisej again.
  4. Same steps, but remove and install Wisej using Run as Administrator
  5. Remove Wisej as Administrator, restart the computer, remove every Wisej icon by hand, restart the computer and install Wisej as Administrator.

After action 5, no icons show on VS2015. So I repeated steps 1 to 3 above.

To exclude a possible VS2015 issue, I tried to open a VWG and a Windows Forms projects, Reset Toolbox and all is fine.

  • You must to post comments
Best Answer
0
0

It’s a common problem when uninstalling and reinstalling toolbox items.

It may be caused by VS being open during reinstallation (could be invisible and in the background – it happens when debugging sometimes). It’s usually a cache problem. We don’t do anything special or different to register the toolbox items. Frank is looking into forcing VS to close when installing.

See this answer from Telerik, it explains how to reset the VS cache:

Posted 21 Dec 2010Link to this post

We have identified several occurrences of multiple/duplicated ToolBox items existing in the Visual Studio Toolbox. Unfortunately these seem to stem from a glitch in Visual Studio, which was still not reproduced reliably so that we can fix it, or ask Microsoft for a fix.

Below are the different kinds of occurrences and their possible fixes:

  • Duplicate Toolbox items, remaining two entries per control:
    • this could be a result of having parallel RadControls installations, which is the correct behavior (Visual Studio 2008 only)
    • this could be the result of an improper deregistration of an older RadControls distribution, followed by the registration of the newer one. Usually either of the two approaches below helps fixing the problem:
      • Close Visual Studio instances, start Windows Explorer, navigate to %localappdata%\Microsoft\VisualStudio\10.0 and delete the *.tbd files
      • Right-click the Toolbox inside Visual Studio and click Reset
  • Multiple entries per control, number increasing with each start of the IDE: this is the worst scenario we have come across. All the registry entries and files on the customer machine seemed fine in this case. The only fix we were able to apply was a complete uninstall of RadControls and Visual Studio 2010, followed by a clean install of the IDE and the RadControls.

Kind regards,
Erjan Gavalji
The Telerik team

 

 

  • You must to post comments
0
0

Again! VS2015 duplicated the Wisej controls on the Toolbox.

And again, the same recipe solved the issue.

  • You must to post comments
0
0

Hi Nic,

I forgot to mention two steps:

  1. After closing VS, remove Wisej and then delete the files.
  2. After deleting the files, restart the computer before re-opening VS.
  • You must to post comments
0
0

Hi Tiago,

I’m just wondering if there were any additional steps. I closed VS, followed your steps and when I reopened VS its still just as bad as before 🙁

Thanks

Nic

  • You must to post comments
1
1

VS2015 repair didn’t solve the problem.

The above recipe didn’t solve the problem either. On top of

  • Go to C:\Users\<your.name>\AppData\Local\Microsoft\VisualStudio\14.0 (replace 14.0 by your VS version)
  • delete all *.tbd files (there were 4 tbd files).

I also had to

  • delete ToolboxItemDiscoveryCache.*.dat
  • delete all files in ComponentModelCache folder

The problem is solved.

  • Kizaemon Date
    Thank you, this helped me with VS2019 and WiseJ 2.5.3
  • You must to post comments
0
0

Tiago,

I’m pretty sure I always have VS closed when applying the updates to wisej (but of course I could be wrong) . I’m leaning more towards VS “glitch”. Just taking a look now I have 5 instances of each wisej control in my toolbox.

Nic

 

  • You must to post comments
0
0

Hi Luca,

I found that post too. I also found some other posts that point in the same direction. After the repair of VS2015 if the problem remains I’ll try those steps  (repair is taking around 6/7 hours).

Forcing VS to close when installing may help to prevent this problem.

  • You must to post comments
0
0

Hi Nic,

My usual IDE is VS2015. I guess VS2012 is yours. Usually I close VS2015 before installing or removing Wisej. Since the usual IDE is always open, I can’t exclude I forgot to close it on some occasion. I wonder if that’s what caused the issue.

  • You must to post comments
0
0

Interesting you should say that because I have the same issue with toolbox duplication in VS2012. I can’t quite put my finger on when or how it happens but the icons do seem to keep duplicating. I’ve also noticed that the chart.js extension is never included in the toolbox after an update. I always have to go and manually add it back in.

Nic

  • You must to post comments
Showing 9 results