Silverlight System.Security.VerifictionException after Branching in VS

116 Views Asked by At

I get a VerificationException after branching a solution. My folderstructure is ordered like this:

 - Dev
 - -- Main
 - Releases
 - -- v1.x.x
 - -- ...

If I build & start the solution in the Dev/Main branch everything works just fine. After branching the solution in Release/v.1.x.x and starting from here i get:

System.Security.VerificatonException: Operation could destabilize the runtime.

I have read all kinds of posts dealing with this Exception but nothing helped.

Some background information: .NET 4.0, VisualStudio2012, Silverlight 5, Infragistics Library

1

There are 1 best solutions below

0
On BEST ANSWER

I found the problem. Nevertheless thank you for your research.

In the main application there are two Silverlight applications which refers to the assembly System.Windows.Interactivity in two different paths with two different versions. :(