I have developed an application using Wisej.net and it has worked well. Now, when I go into design mode on a window and try to add i.e. a textbox or other control, there are no Wisej options. This just began happening within the last week.
When I try to open any window (form) in VS, I get the error “Value cannot be null. Parameter name: instance”. If I add a Windows form, the new form does not get this error, but also does not have any Wisej controls within.
When I compile my application with Wisej windows/forms defined (which I can’t open to edit), everything compiles and runs fine…
Any suggestions on how I might re-install or otherwise get them to show?
Microsoft Visual Studio Community 2022 (64-bit) – Current
Version 17.14.14
Microsoft .NET Framework
Version 4.8.09032
Thanks in advance.
I came across a thing that may be useful in this way. Uninstalled VSIX, reinstalled it, opened VS and my designer instance and boom …. this error: “Message from web page” (error title) , “Renderer callback failure: class does not support automation.”.
Can this have any relations with our current issue?
Ok, if it is a problem with Visual Studio, that means that there is a conflict between VS and WiseJ. This is how I can understand it.
This problem is showing regularly when using .Net Core only without .Net Framework and this is the way to go for future, isn’t it?
Hours of the developer time are gone fixing over and over this trouble and this is remaining us to the start point before any time cut recommendation to use WiseJ.
You should consider this issue as a serious one if you really target a continuity in the market. This is an advice from a lover of your product where everything else is really shining.
However, if anyone need it, I normally solve that by closing any design instances + closing the toolbox panel + closing the VS itself.
Then go to the folder C:\Users\<YourOSUserNameHere>\AppData\Local\Microsoft\VisualStudio\17.0_00f65c2e.
In sub folder ComponentModelCache delete all files.
In sub folder \Designer\ShadowCache delete all files.
Reopen VS, load a designer instance (Form, User Control ….etc.) and reopen the ToolBox panel.
Thanks.
I can’t find an update toolbox option anywhere. Still no Wisej options in the toolbox.
If I create a new Wisej project with just one window, they are there.
If I add my project to the newly created project that is working, then my windows show all of my Wisej controls, but the toolbox still has no Wisej controls for that window even though there are many installed in the window.
In the attached screen capture, you can see the button properties beside the toolbox for that window. The page displays fine, but I can’t add any Wisej controls to it because they are not “available”
I downloaded and re-installed Visual Studio 2022; re-downloaded and reinstalled the Wisej 4 vsix. No improvement.
I just uninstalled the WiseJ extension and re-installed it. No error mentioned above, but still no Wisej controls in the toolbox.
I even created a new WiseJ project and it also did not have tools.
I’ve installed the .visx half a dozen times, including downloading new installers each time. I even uninstalled the extension and re-installed it.
no happiness yet.
further advice?
Strangely enough…In one of my other TEST programs, the Wisej does show up in the Visual Studio design toolbox… I can even copy a control from this application and paste it successfully in my new application. But, alas, the Wisej controls still do not show in the toolbox within.
I don’t see any menu like yours on my version of Visual Studio 2022.
I might add that I tried upgrading to WiseJ 4, but there were too many issues, so I reverted to 3.
Using NuGet manager, I removed all wisej DLL’s and re-added WiseJ 3 DLLs, could this be a problem?
I just created a NEW project in VS 2022, selected a Wisej web application, opened Page1 and it says: the designer could not be shown for this file because none of the classes within it can be designed…. the base class system.void cannot be designed.
Hi Rusty,
You can use our built in “Update ToolBox” feature in the designer to populate the ToolBox.
I have attached a screenshot so that you know exactly where to find it.
Btw, if the issue is with using the Net Core designer, then I’m afraid that it’s an issue that comes with Visual Studio, as you have to clean the solution, close VS and then reopen it to rebuild the solution for the toolbox items to show up.
HTH,
Alaa
Actually, I jumped the gun… The windows with Wisej controls now OPEN successfully (where the wouldn’t before visx), but the toolbox still doesn’t have Wisej controls listed.
I tried “Choose Items” and none are listed.
Any new suggestions?
Thanks in advance.
🙂 Yes, that was it! I don’t know how it was no longer installed…maybe it’s sun-spots 😉
Thanks!
Hi Rusty,
You’re missing the VISX for Wisej.NET, please download the latest one from https://wisej.com/builds/
Best,
Alaa
Please login first to submit.
