« Return to Thread: Dynamic Proxy - Silverlight Build

Re: Dynamic Proxy - Silverlight Build

by Pete-124 :: Rate this Message:

Reply to Author | View in Thread


Yeah no worries mate,

I will have a look at the issue again tonight and raise the issue on
Donjon.

Pete

On Jun 15, 3:01 pm, Krzysztof Koźmic <krzysztof.koz...@...>
wrote:

> Davis,
>
> Could you provide a patch (or several) for that.
> It would be best if you created an issue in Donjon and attached patches there.
> Thanks,
>
> Krzysztof
>
> 2009/6/15 DAVIS, Peter <peter.dav...@...>:
>
>
>
> > The current silverlight projects are incorrect. I tried to build a
> > silverlight version of Windsor and DP just last week, and hit a large wall
> > and decided to give up.
>
> > The main issues were:
>
> > 1)      I found that the *.Silverlight.csproj files are still referencing
> > System.dll, System.Core.dll, and mscorelib.dll from the .NET framework path.
> > These should be linking to those in the silverlight SDK folder (something
> > line C:\program files\microsoft sdks\silverlight\2.0...)
>
> > 2)      After fixing (1) I found some issues with classes that didn't make
> > it into silverlight 2.0 ( mainly the HybridDictionary). See the Silverlight
> > 2.0 documentation for the System.Collections.Specialized namespace, only a
> > few interfaces made it.
>
> > I looks like the best solution to make Castle.Core, Castle.MicroKernal, and
> > Castle.Windsor source compatible with Silverlight 2.0 is to swap
>
> > HybridDictionary(true)
>
> > For
>
> >                 Dictionary<string,
> > object>(StringComparrison.OrdinalIgnoreCase)
>
> > Or specific types, like in AbstractHandler.cs
>
> >                 Dictionary<string,
> > DependencyModel>(StringComparrison.OrdinalIgnoreCase)
>
> > Since Dictionary<K,V> implements IDictionary, I found that this didn't break
> > the interfaces, and therefore is largely backwards compatible.
>
> > Also I found a combination of dictionaries where some ignore case, and some
> > don't.
>
> > After finding out the level of required change to make it compile for
> > silverlight I gave up, and resorted to using the silverlight build of unity.
> > I don't know if there are other Classes that are being used in the .NET
> > Framework that are not in Silverlight other than the HybridDictionary, but
> > it wont take long to find out.
>
> > Cheers,
>
> > Peter Davis
> > Software Engineer, EW Operational Support Group
> > BAE Systems Australia
> > Phone +61 8 8480 7266
>
> > If debugging is the process of removing bugs, then programming must be the
> > process of putting them in.
>
> > ________________________________
>
> > From: castle-project-devel@...
> > [mailto:castle-project-devel@...] On Behalf Of Jonathon Rossi
> > Sent: Monday, 15 June 2009 9:54 AM
> > To: castle-project-devel@...
> > Subject: Re: Dynamic Proxy - Silverlight Build
>
> > There are many unit tests that aren't successful on silverlight. It would be
> > really helpful if we can get these fixed in both Castle Core and DP2.
>
> > On Mon, Jun 15, 2009 at 10:22 AM, Mark <markspambus...@...> wrote:
>
> > Thanks Jono,
>
> > Anything I can do to help?
>
> > On Jun 15, 12:10 pm, Jonathon Rossi <j...@...> wrote:
> >> There is plans to set up a Silverlight build on TeamCity, however last
> >> time
> >> I had an attempt at getting it all building with Silverlight I had a lot
> >> of
> >> trouble with unit tests. I still have my working copy from then so I'm
> >> planning to just get it building and worry about getting the tests running
> >> later.
>
> >> We haven't yet had an official Silverlight supported release and I'm not
> >> aware of any committers that are pushing to keep it up to date, but a CI
> >> build will ensure that happens. However, we do want to support it for our
> >> users for thanks for the patch.
>
> >> On Mon, Jun 15, 2009 at 10:03 AM, Mark <markspambus...@...> wrote:
>
> >> > Hi,
>
> >> > I've just signed up and don't know much about how everything works so
> >> > be gentle ;-).
>
> >> > I have used RhinoMocks for quite a while and now I've started using it
> >> > with Silverlight. RhinoMocks uses Dynamic Proxy and the other day I
> >> > found a bug which I raised and was fixed almost immediately (awsome!).
>
> >> > However, it appears that the Silverlight version isn't being built
> >> > automatically and when I got the source and tried to build it took a
> >> > bit of rearranging for the code to compile and so I'm a little worried
> >> > that I may have broken something in the process (link to patch below).
>
> >> > So my questions are:
> >> > Is the Silverlight version being actively "developed" (well, actively
> >> > kept in synch with main code base)?
> >> > Is there a build for the Silverlight version? If not can we get one?
>
> >> > I don't have any "spare" time but could probably convince my boss that
> >> > an hour or 2 getting this in place will be worth it for us in the long
> >> > run (and hopefully there wouldn't be too much time to keep t
> >> > going...?).
>
> >> > And finally a general "you guys are awesome" for the libraries you
> >> > produce - Thanks!
>
> >> > Thanks
>
> >> > Mark
>
> >> > The patch I produced is here:
> >> >http://www.walkersretreat.co.nz/files/DYNPROX-92-Silverlight.zip
>
> >> --
>
> >> Jono- Hide quoted text -
>
> >> - Show quoted text -
>
> > --
> > Jono
>
> > "Warning:
> > The information contained in this email and any attached files is
> > confidential to BAE Systems Australia. If you are not the intended
> > recipient, any use, disclosure or copying of this email or any
> > attachments is expressly prohibited.  If you have received this email
> > in error, please notify us immediately. VIRUS: Every care has been
> > taken to ensure this email and its attachments are virus free,
> > however, any loss or damage incurred in using this email is not the
> > sender's responsibility.  It is your responsibility to ensure virus
> > checks are completed before installing any data sent in this email to
> > your computer."- Hide quoted text -
>
> - Show quoted text -

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Castle Project Development List" group.
To post to this group, send email to castle-project-devel@...
To unsubscribe from this group, send email to castle-project-devel+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/castle-project-devel?hl=en
-~----------~----~----~----~------~----~------~--~---

 « Return to Thread: Dynamic Proxy - Silverlight Build