0xd4d / dnlib

Reads and writes .NET assemblies and modules
MIT License
2.17k stars 587 forks source link

Support .NET Core / .NET assembly resolving #453

Open wwh1004 opened 2 years ago

wwh1004 commented 2 years ago

Feature list:

  1. New assembly resolver: resolve .NET Core / .NET built-in libraries and '*.deps.json'.
  2. Handle type forwarding in Importer: e.g. for 'netstandard.dll', use netstandard assembly ref not the assembly which really define the type.

Can I send a PR? I can do it when I have time.

CreateAndInject commented 1 year ago

Can we migrate code from dnSpy?

ElektroKill commented 1 year ago

Can we migrate code from dnSpy?

dnSpy is licensed under GPLv3 and dnlib is licensed under MIT. GPLv3 is more restrictive license then MIT. Only way would be to get permission from all contributors to that part of code in dnSpy to allow relicensing as MIT.

CreateAndInject commented 1 year ago

@wtfsck @wwh1004 This one should be marked as v4