PersistedAssemblyBuilder for .NET 8 and previous versions #112086
-
Hello, Is it possible to use the The System.Reflection.Emit package on NuGet was last updated in 2019 which does not contain the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
It would not be possible to backport |
Beta Was this translation helpful? Give feedback.
It would not be possible to backport
PersistedAssemblyBuilder
as designed to previous versions of .NET or .NET Framework. This is because it's base class,AssemblyBuilder
issealed
in previous framework versions (see .NET 6 and .NET Framework docs). It was changed to an abstract class to allowPersistedAssemblyBuilder
to inherit from it. See #78542. Note that while issue is marked .NET 8, some later changes like #93497 only made it into .NET 9.