C# 如何安装ngen依赖项?
我正在使用ngen安装exe的本机映像,但在尝试时还需要安装它们的依赖项C# 如何安装ngen依赖项?,c#,.net,performance,ngen,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 ref
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.
我正在将这些dll与Assembly.load一起使用
我怎样才能解决这个问题