Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我使用 ildasm 来确定构建程序集之间的更改/差异。这很好用,但是当我尝试让它为(WPF 项目)检测 Xaml 中的更改时,我找不到任何差异 - 在对项目标记进行更改之后。
有任何想法吗?我用错了吗?
是的,XAML 文件未编译为 IL,IL 保持不变。这就是为什么你没有注意到任何区别。
XAML 文件被编译为 BAML(二进制应用程序标记语言)并作为嵌入资源存储在程序集本身中。为了比较 BAML,您需要使用BAML Reader。
更多关于 BAML