I have 6 form templates deployed on a Sharepoint form library as site content types (though I guess this information is irrelevant to my question...) All the 6 templates have a big part of code behing which could be re-used, while at the moment I have it duplicated in all of them. Ideally I would build a new project for a dll where to place the code to be reused, then add references to that dll from within the form's code, but I'm not really sure how to proceed. I'm using IP 2010 in 2003 compatible mode, and VSTA for coding. I don't seem to be able to build a library with VSTA, there isn't a "New Project" menu option. I would also be unsure about what should I do with the generated dll; should I install it in the GAC? Just leave it in the project folder and reference it from there? I maybe need Visual Studio?
Any help is really appreciated,
Renato