问题标签 [gac-32]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
3691 浏览

.net - 为什么不是 GAC 中的所有程序集都构建为 MSIL?

并非全局程序集缓存 (GAC) 中的所有程序集都构建为 的原因是MSIL什么?我看到了某些程序集使用x86AMD64架构类型,如下例所示,但其他程序集则没有:

C:\Windows\assembly\

在此处输入图像描述

为什么是System.Data为两种不同的处理器架构构建的,而System.Coreis MSIL

C:\Windows\Microsoft.NET\assembly

在此处输入图像描述

在 GAC 的第二个版本中可以看到类似的模式,如上所示。程序集分为不同的架构,但并非所有程序都内置于32/64版本中——有些只是MSIL.