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
|
I was using WPF diagram 3.0 and it has been working fine. Today, I was trying to debug some problem, so I added WPF Diagram source code to my solution and change my app to use project reference, but the my solution failed to build and the message is: Exception occurred creating type 'Mindscape.WpfDiagramming.DiagramSurface, Mindscape.WpfDiagramming.Foundation, Version=3.0.1975.23288, Culture=neutral, PublicKeyToken=c2e9c4ef235fd77f' System.ComponentModel.LicenseException: No License Installed Then I tried to change back to use WPF Diagram from a dll, again I got the same error message while building. In my solution, I have this line in the licenses.licx: Mindscape.WpfDiagramming.DiagramSurface, Mindscape.WpfDiagramming.Foundation, Version=3.0.0.0, Culture=neutral, PublicKeyToken=c2e9c4ef235fd77f And the Mindscape.WpfDiagramming.DiagramSurface.lic is put in the same folder as the reference Mindscape.WpfDiagramming.Foundation.dll Please help me get it working, both referencing source code and dll, thank you! |
|
|
Hi Xiaochu, Is this still an issue? Using a direct project reference should not have any licensing problems. Try follow this post to see if it helps solve the issue: http://www.mindscapehq.com/forums/thread/1309 Although it mentions WPF Property Grid, it should all be relevant. Number 5 may be the most likely cause, though it's best to check them all. Another thing to try could be to manually delete the bin and obj folder and try rebuilding your project. Also, if your project references other projects that also use WPF Diagrams, make sure they are all using the same reference (dll or project). Hope that helps solve the problem. -Jason Fauchelle |
|
|
Jason, Thank you. I did not have a chance to check the problem again, because the computer which has the issue is not functioning right now. Best, Xiaochu |
|