Error opening all forms

0
0

Hello,

 

I closed a project I was working on a few days ago – reopened it today and now all my forms won’t open. I get messages like this in visual studio 2022:

Unable to cast object of type ‘Wisej.Web.UserControl’ to type ‘Wisej.Core.IWisejControl’

Unable to cast object of type ‘Wisej.Web.Form’ to type ‘Wisej.Core.IWisejControl’

Note sure why this is happening – anything I can check ?

 

  • edmond girardi
    After closing and opening Visual Studio a few times it finally started to open the forms – not sure what causes this ?
  • You must to post comments
0
0

It’s a Visual Studio problem- not caused by Wisej. If it happens again, do this:

Open the designer (no tools). Recompile. Close the designer. Close VS. Reopen VS. Open the designer. If it doesn’t work, right click on the toolbox, reset toolbox. Close designer. Close VS. Reopen.

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.