Visual Studio 2012 and IVsSingleFileGenerator
-
13-07-2021 - |
Question
I'm porting my existing extension written for VS2010 SDK to VS2012 SDK and there seem to be some changes involving IVsSingleFileGenerator.
Basically, I'm creating a .VSIX with:
- Project Templates
- Item Templates
- A custom tool (implementing IVsSingleFileGenerator)
Did someone made a similar thing for VS2012 and got some code examples?
Solution
Figured out what was different from VSSDK 10.0:
- If you follow the VSSDK10 sample on single code generator, one has to mark ComVisible(true) all the hierarchy (cf: Why is my Visual Studio 2010 custom tool not being found?).
- The CodeGeneratorRegistrationAttribute is now part of the Shell 11.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow