.NET Core NETSTANDARD - Get Assemblies

2.8k Views Asked by At

Because AppDomain ist not available in the netstandard library, i am wondering how to do

AppDomain.CurrentDomain.GetAssemblies();

The goal is obviously to get all assemblies that are loaded in the current app.

Update

There is a solution for netstandard 1.6

DependencyContext.Default.CompileLibraries
DependencyContext.Default.RuntimeLibraries

but i need a solution from netstandard >= 1.3

0

There are 0 best solutions below