-
-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support CoreCLR #66
Comments
👍 I appreciate you taking the time to figure out what it would take. I use this library like crazy and it's going to end up being a blocker for moving to .NET Core on a lot of my work-related projects (though that won't even be on the table for a long while). |
@jbogard, probably I will internalize the Mono.Reflection or switch to some other decompiler (Roslyn/Cecil/ILSpy - not sure yet). |
@jbogard @daveaglick I would happily accept a pull request |
@Rdefreitas I dont think that .NET Core has .GetMethodBody() method |
@hazzik if I'm not mistaken, GetMethodBody is internal but there is the MethodBody property of the MethodImplementation struct. |
@Rdefreitas System.Reflection.Metadata is a fully managed metadata reader, it's completely separate from the traditional System.Reflection. If .NET Core doesn't have |
@jbevain, my apologies, it seems you're correct. I came across this issue in dotnet/corefx#4543, which mentions that .NET Native won't have access to retrieve MetadataTokens... I would assume this is the reason for the lack of
Having a windows-only version of Mono.Reflection would kind of defeat the purpose of even having Mono in the name. 👎 Although, maybe having a subproject that is temporarily limited wouldn't be all bad and would at least get the ball rolling (with a delay for cross-platform functionality)... perhaps Mono.Reflection.CoreFx. @hazzik, is DelegateDecompiler Mono-friendly or just using the lib? Anyway, I was led down this road through a need to see @AutoMapper EF6 extensions ported to EF Core... I'm happy to contribute to make this happen, I just need to find the right starting point. |
I would also like to see .net core support for use with Automapper EF extensions and would be happy to help contribute if anyone can point in the right direction. |
@zsvanderlaan we're all waiting for .NET Standard 2.0/.NET Core 2.0 to drop. That's where GetMethodBody comes back. Then this will need to target |
In case anyone else is not familiar with this, i did some research, and from what I understand .net core 2.0 will run on top of .net standard 2.0, which is cross platform. .net standard 2.0 is the framework layer where GetMethodBody is defined, and so once .net standard 2.0 is released (suspected May 10th at Build) the Delegate Decompiler library (and its Mono.Reflection dependency) should be able to target .net standard 2.0 instead of the full .net framework currently being referenced. |
Btw, I made a PR to support .NET Standard 2.0 to Mono.Reflection: jbevain/mono.reflection#16 |
Hi guys, Are there any updates now that .NET Standard/Core 2.0 specifications are complete? |
@tb-mtg I'm waiting on Mono.Reflection dependency. However you can easily reference DelegateDecompiler/Mono.Reflection from .NET Standard 2.0 assembly using compatibility mode |
DelegateDecompiler.EntityFramework should reference Microsoft.EntityFrameworkCore for .NET Standard/Core 2.0 or better introduce new package DelegateDecompiler.EntityFrameworkCore? |
New package.
…On Fri, Jan 5, 2018 at 10:05 AM Slava Trenogin ***@***.***> wrote:
DelegateDecompiler.EntityFramework should reference
Microsoft.EntityFrameworkCore for .NET Standard/Core 2.0 or better
introduce new package DelegateDecompiler.EntityFrameworkCore?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#66 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAGYMnIJI3V15PvIhiXBqujtnBChN8zeks5tHkhVgaJpZM4G9A3R>
.
|
Is there any update or progress on .NET Core / .NET Standard 2.x support? |
Are you still waiting for Mono.Reflection dependency? Will that even happen this year? |
I had to release own version of Mono.Reflection to be able to proceed. |
I've released DelegateDecompiler.EntityFrameworkCore. |
I spiked this out, the biggest issue will be getting the Mono.Reflection dependency. You'd either need to switch to the MS packages or get that package updated.
The text was updated successfully, but these errors were encountered: