BrunoJuchli / StaticProxy.Fody

Creating proxies at compile time.
16 stars 3 forks source link

Updated Interceptor project support #4

Closed mfkl closed 8 years ago

mfkl commented 8 years ago

Modified some code to use the new Reflection APIs (See ExceptionExtensions.cs as I'm not too sure about this change). Updated csproj to .NET4.5 and set the PCL profile to 259. I don't know which profile you want to support, so I just made a wild guess here :-P

See #2

BrunoJuchli commented 8 years ago

Thanks. I'll look into it. There's just one slight thing which i believe can be improved, the PreserveStackTrace is not necessary in 4.5 anymore - now there is ExceptionDispatchInfo (if i remember the name correctly) which can be used to achieve the same result.

BrunoJuchli commented 8 years ago

I've made a pre-release: https://www.nuget.org/packages/StaticProxy.Interceptor/0.3.0.79-pre Which IoC container are you using? I'd like to try things out.

Also, please test in conjunction with https://www.nuget.org/packages/StaticProxy.Fody/0.3.0.87-pre