Designer can be unstable on VS2015

Welcome to Wisej Support.
Questions, suggestions and plain old bugs - are all welcome here!
Answered Closed
0
0

This happens sometimes and some other times it doesn’t happen. I can’t figure out the pattern.

 

1. The Design refuses to show Window with error

[A]Wisej.Web.Form cannot be cast to [B]Wisej.Web.Form. Type A originates from ‘Wisej.Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=17bef35e11b84171’ in the context ‘LoadNeither’ at location ‘C:\Users\<myname>\AppData\Local\Microsoft\VisualStudio\14.0\ProjectAssemblies\hlotzbj801\Wisej.Web.dll’. Type B originates from ‘Wisej.Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=17bef35e11b84171’ in the context ‘LoadNeither’ at location ‘C:\Users\<myname>\AppData\Local\Microsoft\VisualStudio\14.0\ProjectAssemblies\uoreocww01\Wisej.Web.dll’.

 

2. The Designer refuses to show Page with error

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

  • Luca (ITG)
    Can you please check the reference in VS and see if CopyLocal = true?
  • You must to post comments
Good Answer
0
0

Hi Tiago,

this issue was likely caused by a missing path in the registry that was needed by Visual Studio
to find the assemblies in one location instead of duplicating them.

The latest installer that has just been uploaded should fix it.

Thanks for raising that issue.

Best regards
Frank

  • You must to post comments
0
0

Hi Tiago, thanks for your report. We’re looking into it.

  • Luca (ITG)
    Looks like the same issue that Mitch is reporting. It happens when VS loads the same assembly from different locations so it finds two identical classes. We have seen this many times. Looks like either an issue with the installer or the projects references. One of the cases is when the assemblies are marked Copy Local but they are also in the GAC.
  • You must to post comments
Showing 2 results