This illustrates the issue with Visual Studio 2022 (ITextTemplating and ITextTemplatingCallback) described in the following issue:
To reproduce:
-
Open
MySpecialPackage.sln, build and install the resulting vsix file (which installs the code generator). -
Open
MyProject.sln, and transformMyTemplate.tt.
Please check the comments in the 2 solutions.