如何安装ngen依赖项?

时间:2015-08-04 17:25:40

标签: c# .net performance ngen

我使用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

我如何解决这个问题?

0 个答案:

没有答案