怎样生成C#的本地码?

nhddr 2002-01-31 03:31:44
怎样生成C#的本地码?
...全文
99 9 打赏 收藏 转发到动态 举报
写回复
用AI写文章
9 条回复
切换为时间正序
请发表友善的回复…
发表回复
rainbow 2002-02-01
  • 打赏
  • 举报
回复


> CLR transelate IL into native code and run it.
> Is there a temp dir to save these native code?

No, the JIT compiles the IL into native code unless you use the ngen.exe
util, which persists compiled code to the HD.

_____________________________________________________
"This posting is provided "AS IS" with no warranties,
and confers no rights."
_____________________________________________________

David Notario
Software Design Engineer, CLR Group
_____________________________________________________

qqchen79 2002-02-01
  • 打赏
  • 举报
回复
是.NET Framework Redistributable Package,拼错了,呵呵。
qqchen79 2002-02-01
  • 打赏
  • 举报
回复
msdn.microsoft.com
查找
.NET Framework Redistribution Package
debut 2002-02-01
  • 打赏
  • 举报
回复
那20M的东东是那些呀?
chegan 2002-02-01
  • 打赏
  • 举报
回复
同意qqchen79(知秋一叶)
qqchen79 2002-01-31
  • 打赏
  • 举报
回复
ngen生成的本地码是直接安装在系统的Cache当中的(其实肯定是以某种形式存在硬盘上了),你没办法拿到最终的本地代码结果,而且这样的本地码并没有与.NET CLR和类库脱离干系。目前.NET应该没办法编译成纯本地代码的形式,至少20M的类库和CLR是少不了的。
nhddr 2002-01-31
  • 打赏
  • 举报
回复
to rainbow()
看msdn, 有这样说,不过好像不大行。具体的方法是怎样?有例子吗?
谢谢!!!
bobiws 2002-01-31
  • 打赏
  • 举报
回复
start菜单run输入ildasm. OK!
rainbow 2002-01-31
  • 打赏
  • 举报
回复
ngen.exe

110,571

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 C#
社区管理员
  • C#
  • Web++
  • by_封爱
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

让您成为最强悍的C#开发者

试试用AI创作助手写篇文章吧