0xd4d / dnlib

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

Add additional net6.0 target framework #515

Closed ElektroKill closed 1 year ago

ElektroKill commented 1 year ago

Fixes https://github.com/0xd4d/dnlib/issues/514

This PR adds support net6.0 target for dnlib. The rationale for this change was discussed in the aforementioned issue and updates the NuGet packages used by dnlib to the latest available versions.

I've also gone ahead and replaced most of the usages of string concatenation and replaced it with string interpolation. This allows Roslyn to better take advantage of the faster string API's available in .NET 6. Some code changes were also necessary to resolve warnings regarding obsolete members and platform compatibility of the unmanaged Windows PDB support. A few NRE's which were picked up by code analysis were also fixed!

wtfsck commented 1 year ago

Thanks!