Hi,
I have created an installation of 4.0.11 version in vs 2022 and every time i open the designer i am geting the error below.
|
This is happening in a new created project from web application template. Compilation is working fine but the designer crashes with the above error.
The new created project is using framework 4.8.1 and .net 9, the defaults and wisej version 4.0.11.
I have tried..
Uninstall both versions of wisej reboot and reinstalling only 4.0.11
Compile the project, close VS and reopen it.
Unsinstall and resinrall the product 4.0.11 several times.
Delete the folder AppData\Local\Microsoft\VisualStudio\17.0_xxx and recreated fron vs
Nothing works..!!
I had version 3.5 installed if this helps.
Thnaks
George
Hi,
After uninstall from extentions as wisej products, I did a deep search deleting all wisej dlls that i found in several folders.
After that, i install only ver 4.0.11 and it seems to worl ok. I think that the problem occured from old dlls that are not deleted after uninstall from all folders.
Thanks a lot for your support.
GA
Hi George,
I installed Wisej in Visual Studio 2022 in the following order:
I then created a new project using Wisej 3 targeting .NET 9, and it opened correctly in the designer.
I’ve attached my test project in case it helps with troubleshooting.
Regards
It’s not a crash. It’s an exception that a class cannot be cast to an interface. It means VS loaded multiple versions of the same assembly, which means you have multiple versions of Wisej.NET in the same project or an installation that is wrong. Delete all .bin and all .obj, uninstall all installations of wisej, search for any Wisej.Core and Wisej.Framework dlls and make sure the machine is clean. Install Wisej 4 extension and it will work.
Otherwise try on a clean machine.
And a screenshot of the nugget package. It has other version.
Hi Frank, thanks a lot for your response.
I have procceded with the below acrions.
Uninstall from the VS extenions all Wisej products.
Restart the pc.
Fresh install using https://www.youtube.com/watch?v=8BTvHicJesc instructions.
After installtion finished, i have created a new wisej web aplication. When i open the designer same error occured.
Sending also screenshoots.
Thanks
GA
Please login first to submit.
