Visual Studio 2008 可以引用 1.0 程序集吗?
我有一个较旧的程序集 (Office XP PIA),它似乎针对 .NET 1.0 框架。 该程序集已注册并在 GAC(以及 Win32 注册表)中可见,但当我选择“添加引用”时,它不会出现在 Visual Studio 2008 中。
Visual Studio 是否支持引用旧程序集?
I've got an older assembly (Office XP PIA) that appears to target the .NET 1.0 framework. The assembly has been registered and is visible in the GAC (as well as the Win32 registry), but it doesn't appear in Visual Studio 2008 when I choose "Add Reference".
Does Visual Studio support referencing older assemblies?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
是的,我相信是这样。 但是,您必须手动浏览程序集。
以下链接,PIA 部署和安装期间的常见陷阱,可能会提供您正在寻找的信息。
Yes, I believe so. You would have to manually browse for the assembly, however.
The following link,Common Pitfalls During PIA Deployment and Installation, may provide the information you are looking for.
引用较旧的程序集将起作用。 但不支持相反的方式。
关于此主题的一篇有趣的文章:2.0 应用程序调用时会发生什么1.1 程序集
并且不要忘记检查任何 .NET 1.0/1.1 和 .NET 2.0 之间的重大更改
Referencing older assemblies will work. The opposite way however is not supported.
An interesting article on this topic: What happens when a 2.0 app calls a 1.1 assembly
And don't forget to check for any breaking changes between .NET 1.0/1.1 and .NET 2.0