lundi 22 juin 2015

asp.net dnxcore50 load assembly by file path

How do you load an assembly in asp.net under dnxcore50 (DNX Core 5.0)?

I have a Lib/FooLibrary.dll path in the directory where my asp.net 5 app lives, but i cannot seem to find any way of loading the assembly via reflection

My ultimate goal is to use reflection to load the assembly and get some MethodInfos in order to do some light-weight code generation.





Aucun commentaire:

Enregistrer un commentaire