Compiling Castle Microkernel and Windsor for Silverlight 2.0

2 views
Skip to first unread message

Nigel

unread,
Jul 4, 2009, 6:07:05 AM7/4/09
to Castle Project Users
I am having trouble compiling Castle Microkernel and Windsor for
Silverlight 2.0. I am working with the build on the trunk (5837).

I can build the InversionOfControl-vs2008-SL.sln solution fine and
this generates Core-Silverlight.dll no problems, but will only build
the Microkernel and Windsor assemblies for .net and not for
Silverlight.

I know this is still work in progress but I can't find a definitive
answer as to whether this is possible yet, and if so, what I am doing
wrong. I get no compilation errors; the build is successful, just the
assemblies do not target the SIlverlight runtime.

Stack overflow link:
http://stackoverflow.com/questions/1078382/compiling-castle-microkernel-and-windsor-for-silverlight-2-0

Many thanks, Nigel.

Jonathon Rossi

unread,
Jul 4, 2009, 6:21:06 AM7/4/09
to castle-pro...@googlegroups.com
I know there has been recent work to get MK building on silverlight but I cannot see how even the current trunk would build with references to things that are not available in silverlight.

As you may be aware Core and DynamicProxy are now building (not all tests pass) on silverlight. I may get a chance later to take a better look.
--
Jono

Jonathon Rossi

unread,
Jul 5, 2009, 6:19:14 AM7/5/09
to castle-pro...@googlegroups.com
I did have a decent shot at trying to get MK building on silverlight, but I had to stop as it was getting late and there was just so many things missing from Silverlight it was taking a long time to work out alternatives for them.

I may find some more time in the near future to see if I can get further. I'll consider committing what I have got so far.
--
Jono

imran

unread,
Jul 5, 2009, 7:59:17 AM7/5/09
to Castle Project Users
Jono,
http://www.flawlesscode.com/post/2008/08/Mocking-and-IOC-in-Silverlight-2-Castle-Project-and-Moq-ports.aspx
has done some work on this. Mabe some of it can be reused?

Imran

Nigel

unread,
Jul 8, 2009, 5:31:33 PM7/8/09
to Castle Project Users
Jono

Thanks for your continued work on this. I look forward to seeing what
you come up with.

Nigel.

On Jul 5, 12:59 pm, imran <imu...@gmail.com> wrote:
> Jono,http://www.flawlesscode.com/post/2008/08/Mocking-and-IOC-in-Silverlig...

Jonathon Rossi

unread,
Jul 8, 2009, 6:11:45 PM7/8/09
to castle-pro...@googlegroups.com
Thanks imran for the link, we have used some things from that attempt. Castle has moved on quite a bit from then and things need to be done properly with #if, but it is a good start.

Nigel, thanks. I'm not sure if I'll get a chance to do much more but in the near future.
--
Jono
Reply all
Reply to author
Forward
0 new messages