This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Hello I've faced with the following problem: I have an assembly that has implementation of some interfaces from Mindscape.WpfDiagramming.Foundation namespace. And I have an application that uses this assembly. And when I run my application I get System.Reflection.ReflectionTypeLoadException. If I remove all implementations for interfaces from Mindscape.WpfDiagramming.Foundation namespace, there is no any problem. We assume it may happen due to we have Mindscape.WpfDiagramming.Foundation compiled not for .NET 4.0. I've attached an example of the application that uses the assembly with interfaces implementation (ConsoleApplication). To execute it just correct paths in the code. Also I've attached the assembly that has implementations (it is based on the QuickStart example) - you can find it in the Tmp.rar, it is named QuickStart1.exe (you can find source code in QuickStart.rar). QuickStart.exe doesn't have implementations and it can be loaded successfully. Could you please help us and provide the solution? Could we get your builds compiled for .NET 4.0? It is critical for us. //Dmitry |
|
|
Hello! Any news about this issue? It is blocking us unfortunately. We would like to get a build for .NET 4.0 as soon as possible. Is it possible? //Dmitry |
|
|
Hello Dmitry We are looking into this issue right now. Jason Fauchelle |
|
|
Hello Dmitry I have been able to reproduce this issue and I can confirm that using a .NET 4.0 build of the foundation dll resolves this issue. We do not currently provide a 4.0 build though. One way to resolve this is if you have a source code license or purchase a source code license, you can load the WpfDiagramming.Foundation project into visual studio 2010 and make it target .NET 4.0, then build the dll and use that. Alternatively, Is it possible for you to rework your application so it doesn't need to use Assembly.ReflectionOnlyLoadFrom ? Jason Fauchelle |
|
|
Hello Jason! It was just a sample showed that WpfDiagrams works incorrectly with other modules on .NET 4.0. We don't use such method in our application. But we use some third party code compiled for .net 4.0. And we need WpfDiagrams compiled for the same platform either. It would be great if you can provide us your modules for .net 4.0 platform. We just need only one of them - Mindscape.WpfDiagramming.Foundation. It can be trial with any restrictions, but we need to check that our application works well with it. We are going to purchase your product, but it will happen a little bit later and we want to be convinced that it will work with all other our modules. So could you provide us only one module - Mindscape.WpfDiagramming.Foundation - compiled for .NET 4.0 platform (with trial license or any other restrictions that satisfied you), so we can test its interaction with our code? //Dmitry |
|
|
Hello Dmitry We can provide you with a .NET 4.0 build of the foundation dll. Please send me your email address to jason@mindscape.co.nz and I'll send you a link to download the dll. Jason Fauchelle |
|