VS2010 可扩展性 - 有什么不同?
向那些已经看过 VS2010 的人提出一个问题。 为了让他们的外接程序在 VS2010 下工作,外接程序开发人员必须进行多大的更改?
A question to those of you who already looked at VS2010. How big are the changes that add-in developers will have to make in order to get their add-ins working under VS2010?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
幸运的是,我刚刚写了关于 这个确切的主题并显示了升级我的加载项所需的内容。 (下面的链接)
基本上,您的答案是影响较小的迁移,因为大多数功能都有向后兼容的“垫片”。 不过,可以理解的是,为了在 2010 年获得 MAF、MEF 和 WPF 等新功能,开发人员需要做一些工作。
最后 - 请务必阅读这篇来自 Carlos Quintero 的精彩文章,MVP 关于加载项、框架和 CLR 兼容性。 卡洛斯的博客是我发现的最好的插件博客。
As luck would have it I've just written about this exact subject and shown what it took to upgrade my add-in. (links below)
Basically your answer is that there is a low-impact migration, because a back-wards compatible "shim" is in place for most functionality. Understandably though, to get the new stuff in 2010 like MAF, MEF, and WPF there will be some work on the developers part.
Lastly - Be sure to read this outstanding post from Carlos Quintero, MVP about Add-Ins, Frameworks and CLR compatibility. Carlos's blog is the best I've found for add-in stuff.
我们已经将 Visual Lint 产品的开发版本迁移到 VS2010,并且在大多数情况下迁移都很简单 - 或者如果 Visual Studio 2010 Beta 1 自动化模型中没有那么多错误的话迁移会很简单。 这种体验类似于我们为支持 VS2005 所做的工作(相比之下,VS2008 轻而易举),因此很明显 VS2010 代表了 Visual Studio 发展过程中的重大变化。
由于我们对支持的所有版本的 Visual Studio 使用相同的二进制文件(这意味着代码始终是本机 C++),因此界面中的重大更改对我们来说往往是非常明显的。 这次,给我们带来问题的领域是:
我怀疑我们的经验对于大多数加载项来说具有相当的代表性 - 只有当您使用直接受 Visual Studio 本身重大变化影响的区域(例如编辑器或智能感知集成)时,影响可能会特别严重。
最后,我们不打算将构建本身迁移到 VS2010; 它目前是在 VS2008 中构建的,我们根本看不出有任何理由迁移到 IDE,即使今年晚些时候 RTM 发布,它也显示出仍然是“正在进行中的工作”的所有迹象(这只是我个人的意见) - YMMV)。
We've already migrated a development version of our Visual Lint product to VS2010, and for the most part the migration was straightforward - or would have been if there weren't so many bugs in the Visual Studio 2010 Beta 1 automation model. The experience has been akin to the work we had to do to support VS2005 (by contrast VS2008 was a breeze), so it's obvious that VS2010 represents a major change in the evolution of Visual Studio.
As we're using the same binary for all versions of Visual Studio we support (which means the code is contstained to be native C++ throughout), breaking changes in the interfaces tend to be quite visible to us. This time, the areas which have caused us issues are:
I suspect that our experience will be pretty representative for most add-ins - it is only if you are using the areas affected directly by major changes in Visual Studio itself (e.g. editor or intellisense integration) that the effects are likely to be particularly severe.
Finally, we're not planning to migrate the build itself to VS2010; it is currently built in VS2008, and we quite simply can't see any reason to migrate to an IDE which is showing every sign of still being a "work in progress" even when it RTMs later this year (that's just my personal opinion though - YMMV).