我使用ngen来安装exe的本机映像,但我还需要在尝试时安装它们的依赖项
ngen install c:\myfiles\MyLib.dll /ExeConfig:c:\myapps\MyApp.exe
我收到以下错误
Could not load file or assembly xxx or one of its dependencies. The located assembly's manifest definition does not match the assembly reference.
我在Assembly.load中使用这些dll
我如何解决这个问题?