Issues opening designer when working in multiple project solutions

0
0

HI,

I have a solution with multiple projects. When I am working in single project (first one that is opened) openiing all wisej windows / controls / pages in designer works ok.

But when I want to switch to different project, I am getting Unable to cast object ‘Wisej.Web.Form’ to type ‘Wisej.Core.IWisejControl’

When I close Visual Studio, and solution again, this project works, but others do not.

Any idea what should be the issue? This started apppearing recently (lat month or so). Attaching screenshots for error, VS version and wisej runtime version

Thanx,

D

  • You must to post comments
0
0

Hi Dino,

This issue usually occurs when the designer loads multiple Wisej assemblies. Can you verify that all your references are to the same Wisej.Framework.dll (2.2.29) in C:\ProgramFiles\IceTeaGroup\Wisej 2?

If it gets loaded from /bin it might throw an error.

Try deleting both /bin and /obj folders for the projects you’re working on.

It can also throw an error when any of your dll’s reference eachother (i.e, using a library) and you build the project.

The best thing to do is make sure you use the correct references and clean and rebuild the projects.

 

Let me know!

Best,

Levie

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.