I'm trying to follow this tutorial, but it only describes how to add a new project type based on C#. I want to create a new project (sub)type underneath IronPython.
I've downloaded the IronPython source code, and I think I've found the place where I need to add my new template, but I don't know how to "run" it. VS tells me I can't run the project because it's a class. When following the above tutorial, it actually does let you run it, it just fires up a test instance of VS. So how would I test my new IronPython template? When I build it, it creates a dll
and a vsix
file, but I don't know what to do with them.
I can copy the template.zip
file into my VS ProjectTemplates folder, and that works, but I need to add some more functionality than just a template, which is why I'm trying to create a VSPackage. The IronPython source does this, but I just need to find the proper way to extend it.
Also, I'd preferably like to decouple my project with the IronPythonTools
project so that I don't have to rebuild the whole thing, and when IronPythonTools is updated, my project won't explode. There must be some kind of class I can inherit from instead?