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.