0
我有一个.net 4.0应用程序,我需要提高在部分信任环境中运行的代码的性能。具体来说,我想在运行时消除对JIT的需求。通常这是通过使用NGEN(http://http://msdn.microsoft.com/en-us/library/6t9t5wcf(v=vs.100).aspx)完成的,但这对于部分信任运行的程序集不起作用。我有其他选择吗?NGen为部分信任应用程序
Native images that are generated with Ngen.exe can no longer be loaded into
applications that are running in partial trust.