SYSLIB0012: `Assembly.CodeBase` is obsolete
jozefizso opened this issue · comments
Jozef Izso commented
The following APIs are marked as obsolete, starting in .NET 5. Using them in code generates warning SYSLIB0012 at compile time.
Workarounds
Use Assembly.Location instead.