.NET Core NETSTANDARD - Get Builds

Since it is AppDomainnot available in the library, netstandard I wonder how to do it

AppDomain.CurrentDomain.GetAssemblies();

The goal is to get all the assemblies loaded in the current application.

Update

There is a solution for netstandard 1.6

DependencyContext.Default.CompileLibraries
DependencyContext.Default.RuntimeLibraries

but i need a solution from netstandard >= 1.3

+4
source share

Source: https://habr.com/ru/post/1649121/


All Articles