Assuming Profile7 is .NET Framework 4.5 and Windows 8, it will never work
because Win8 Metro apps are missing Reflection.Emit (among others) so
DynamicProxy can't do its thing.

There are no plans to support any PCL profile because DP just isn't a
simple library, it relies heavily on the runtime, however we are working
towards a .NET Core port but from the little I know about
Win10/Metro/Modern/WinStore/Universal apps it isn't likely to work their
either especially since those are compiled using .NET Native.

Since you said you are using Autofac this doesn't help you, but if you just
want to use DP for unit testing via a mocking framework you could use the
desktop runtime for unit tests.

On Tue, Sep 29, 2015 at 2:07 AM, Jon D <jon6767.m...@gmail.com> wrote:

> Trying to use Autofac.Extras.DynamicProxy2 which is a PCL, but depends on
> Castle.Core which is not a PCL.
>
> The message states:
> Cannot install package Castle.Core 3.2.2. You are trying to install this
> package to a project that targets .NetPortable, Vertion=4.5,Profile7
>
> I did try downloading the Castle.Core.dll and reference it directly
> thinking the package simply has not been updated to include the above
> profile.
> It compiles successfully.
> But, I get a runtime error:
> Cannot load System.Runtime.Serialization.ISerializer (or something to that
> effect).
>
> Are there any plans to port Castle.Core to PCL ... specifically Profile7?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Castle Project Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to castle-project-users+unsubscr...@googlegroups.com.
> To post to this group, send email to castle-project-users@googlegroups.com
> .
> Visit this group at http://groups.google.com/group/castle-project-users.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Jono

-- 
You received this message because you are subscribed to the Google Groups 
"Castle Project Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to castle-project-users+unsubscr...@googlegroups.com.
To post to this group, send email to castle-project-users@googlegroups.com.
Visit this group at http://groups.google.com/group/castle-project-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to