Windows SideBySide 如何工作?有任何文档吗?
我最近问了一个相关问题关于SideBySide问题。我发现使用安装程序安装共享程序集是可行的,而使用私有程序集则不行。
我还发现另一个相关问题提到sxstrace.exe
。但这对于 Windows XP 来说似乎不存在。
- 是否有任何资源包含有关 SideBySide Manager 的详细信息?我知道 Microsoft 使用并排程序集 ,但是我该如何调试此类问题呢?
- Windows XP 是否存在
sxstrace.exe
?我在哪里可以下载它?我使用依赖步行者,但它似乎做了一些与 SideBySide 管理器不同的解释。
I recently asked a related question about SideBySide problems. I figured out that installing a shared assembly with installer works, while using a private assembly does not.
I also found another related question mentioning sxstrace.exe
. But this seems not to exist for Windows XP.
- Is there any resource with detailed information about the SideBySide Manager? I know
Microsofts Using Side-by-side Assemblies, but how can i debug such problems? - Does a
sxstrace.exe
exist for Windows XP? Where can i download it? I worked with the dependency walker, but it seems that it does some interpretation different from that of the SideBySide manager.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
张俊峰的博客是 SxS 的重要资源;特别是,诊断 SideBySide 故障将帮助您解决问题。
Junfeng Zhang's blog is a great resource for SxS; in particular, Diagnosing SideBySide failures will help you out.
如果这是一个明显的解析问题,您将在事件查看器中看到它。
更全面的方法是使用 Process Monitor (带有过滤您的项目)以查看您的应用程序尝试证明哪些注册表项但失败了。这样你就会知道它找不到哪个对象。我知道这需要时间,但这对我有用。为了获得最佳结果,请学习使用 Process Monitor 的过滤功能来限制您需要检查的输出集。
If it's a manifest parsing problem you will see it in event viewer.
A more to the metal approach would be to use Process Monitor (with filter on your project) to see which registry entries your application attempts to prove and fails on. This way you will know which object it fails to find. I know it takes time, but it worked for me. For best results learn to use filtering features of Process Monitor to limit the set of output you will need to go over.