VS2005 AddIn Line Counter
Line Counter - Writing a Visual Studio 2005 Add-In
http://www.codeproject.com/useritems/LineCounterAddin.asp
除了提供了一个很不错的插件,这篇文章还教学了
1.AddIn的原理和写法
2.AddIn的安装
其中对资源的处理使用了Build event,是个不错的解决方案
AddIn的安装需要注意.AddIn 文件的部署,文章曰:
This is important for when VS tries to register the add-in. If it is missing, then the add-in will not register. This particular file is somewhat unique in that it is a shortcut. The actual location of this file should be in your {MyDocuments}\Visual Studio 2005\Addins\ folder. It should contain the following xml (NOTE: The [ProjectOutputPath] should match the output path of the project on your own system, so you will probably have to edit it).
If you need to add this file to the project, place it in the proper location under your My Documents folder first. When you add the file to the LineCounterAddin project, instead of clicking the Add button, use the down arrow next to it, and choose “Add As Link“.
有关.AddIn File可以参考
Packaging Add-ins and Toolbox Controls for use with Visual Studio Content Installer
http://blogs.msdn.com/chetanc/archive/2005/10/10/479000.aspx
