Visual Studio转换器怎么写
How to write Visual Studio Converter
我想写一个转换器(可用于 File -> Open -> Convert... ) 这样我就可以将非 VS 格式的构建信息转换为 VS 解决方案。
现在我还找不到在扩展程序中我可以实际创建转换器的位置。
是否有关于如何使用 Visual Studio SDK 扩展 VS-UI 的所有方法的文档?
It's not documented IMHO (at least I can't find it anywhere). It's based on the content of a file called convert.dir located in C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE (for Visual Studio 2010). This file may not exist or its size may be 0.
When defined, it contains a list of lines, each line corresponding to a converter. The line format is 5 values separated by the '|' character, like this;
relative path to .vsz|relative icon path|localized name|localized description|priority
The .vsz file is a standard Visual Studio wizard file.
How to provide a converter that shows up in Convert dialog
另外,这里有一个关于VSProjectConverter的例子供大家参考。
https://github.com/ssvaidya/VSProjectConverter
我想写一个转换器(可用于 File -> Open -> Convert... ) 这样我就可以将非 VS 格式的构建信息转换为 VS 解决方案。
现在我还找不到在扩展程序中我可以实际创建转换器的位置。
是否有关于如何使用 Visual Studio SDK 扩展 VS-UI 的所有方法的文档?
It's not documented IMHO (at least I can't find it anywhere). It's based on the content of a file called convert.dir located in C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE (for Visual Studio 2010). This file may not exist or its size may be 0.
When defined, it contains a list of lines, each line corresponding to a converter. The line format is 5 values separated by the '|' character, like this; relative path to .vsz|relative icon path|localized name|localized description|priority
The .vsz file is a standard Visual Studio wizard file.
How to provide a converter that shows up in Convert dialog
另外,这里有一个关于VSProjectConverter的例子供大家参考。 https://github.com/ssvaidya/VSProjectConverter