Quantcast
Viewing all articles
Browse latest Browse all 8156

Why Ngen didn't work when the code use Assembly.LoadFrom

I'm using ngen to install native image of an exe. In the code i use Assembly.LoadFrom("MyLib.dll"), so i need also to install their dependencies. I checked on Doc and i found

ngen install c:\myfiles\MyLib.dll /ExeConfig:c:\myapps\MyApp.exe

But it's not working the MyLib.dll is Compiled using Jit. How we can resolve this ?

I don't want to use Assembly.load but i need assembly.loadFrom


Viewing all articles
Browse latest Browse all 8156

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>