IVsSingleFileGenerator接口现已过时。 [英] IVsSingleFileGenerator Interface is now obsolete.

查看:162
本文介绍了IVsSingleFileGenerator接口现已过时。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

要在Visual Studio 2008及之前创建自定义工具,我们需要实现IVsSingleFileGenerator。但是从msdn链接( http:// msdn .microsoft.com / en-us / library / microsoft.visualstudio.texttemplating.vshost.ivssinglefilegenerator(VS.100).aspx )它现在说它在Visual Studio 2010中已经过时了。那么什么是最好的生成自定义文件的方法。

To create custom tool in Visual Studio 2008 and before, we needed to implement IVsSingleFileGenerator. But from the msdn link (http://msdn.microsoft.com/en-us/library/microsoft.visualstudio.texttemplating.vshost.ivssinglefilegenerator(VS.100).aspx) it now says that it is obsolete in Visual Studio 2010. So what would be the best way to generate custom files.

推荐答案

嗨Prabir,
这个版本的界面是过时的,因为它是版本的近似副本

Microsoft.VisualStudio.Shell.Interop.IVsSingleFileGenerator

在Microsoft.VisualStudio.Shell中。 Interop.dll

您现在应该使用该版本。

Hi Prabir,
This version of the interface is Obsolete, because it was a near duplicate of the version

Microsoft.VisualStudio.Shell.Interop.IVsSingleFileGenerator

in Microsoft.VisualStudio.Shell.Interop.dll

You should use that version now.


这篇关于IVsSingleFileGenerator接口现已过时。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆