Monday, March 26, 2012

VSITemplate Project

I'm attempting to create a project based on the VSITemplate project, and it works perfectly fine ..

But I want to implement a wizard (based on IWizard, as MSDN tutorials suggest) in the project so I have more control over the creation of the website.

Problem is that, if I use IWizard .. then the TemplateVSI project needs to output a library that can be put into the global assembly cache. Right now, the project file (csproj) doesn't contain any of the items needed to build the project as a library. I've added what I think is needed to get the Build target .. but still, no dll is being outputted.

Is there a better way to do this? Is this even possible? Is there another way I can do this?

Kori

Woo!! Totally figured it out. The wizard files, any forms and the IWizard implementation class, need to be in a seperate project which then can go through the whole GAC install so they can be referenced in the vstemplate. I still wish they didn't have to be installed in the GAC as it's an annoying step that will need to be done on any developer that uses these templates.

No comments:

Post a Comment