Visual Studio 2008 可以引用 1.0 程序集吗?

发布于 2024-07-13 00:01:34 字数 163 浏览 5 评论 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

纵情客 2024-07-20 00:01:34

是的,我相信是这样。 但是,您必须手动浏览程序集。

以下链接,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.

寂寞清仓 2024-07-20 00:01:34

引用较旧的程序集将起作用。 但不支持相反的方式。

关于此主题的一篇有趣的文章: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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文