...and if so, how?
I have a VS2008 MSI-installed package that I'm moving forward into the VS2010 world. I wanted to give the VSIX model a try, since it _seemed_ easier both to implement and the users to run. Part of my package is a custom file type + editor.
I've managed to jump through the hoops to make VS2010 put my ItemTemplate in the "Add New Item" dialog, but when I proceed, I get a hostile "The following template is requesting to open one or more documents in a manner that could pose a security risk.....", with a looong path to an unpacked copy of my ItemTemplate zip file.
Now, I've read elsewhere that VS does this because the itemtemplate is not in a "trusted place". I'd like my users not to see this dialog -- I'm hoping they're trusting me when they run my VSIX installer. So, can I have the VSIX file I'm generating place the templates under $(VSINSTALLDIR)\Common7\IDE\ItemTemplates, which I'm guessing is considered a trusted place? How?
If this is not possible, it seems I'm going to have to abandon VSIX deployment for package, which is a shame.