Thursday, January 24, 2008

Spring.net with forms - Bug!




I have been trying to have an aspect around a windows form and displaying it using Application.Run method. The problem is that Application.Run wants a form object, and not an interface - this forced me to use ProxyTargetType to true with my form proxy. But doing that made Spring.net crash. It appears this is a bug with their framework and currently they are working on fixing it. I wonder if there are better ways to put aspects on forms, please post them here if you worked with Spring and windows Forms.

Here is a link to the bug
http://forum.springframework.net/showthread.php?t=4252

Click here to go to Spring.net home web site

No comments: