In RC1 I was able to get the Assemblies of a Library by doing this with Librarymanager:

_libraryManager.GetLibraries().SelectMany(l => l.Assemblies).Distinct().ToList();

In RC2, there doesn't appear to be any API available to get the assemblies of a Library.

I have read the announcement: https://github.com/aspnet/Announcements/issues/149 and this announcement only explains how to get the dependencies of an assembly, it doesn't explain how to get the assemblies of a Library, now that the Assemblies property is deprecated.

Anyone have any ideas?

I have also raised a github issue here https://github.com/aspnet/Home/issues/1554

Related posts

Recent Viewed