title: Unable To Reference Wizard Assembly in VSIX Deployed Template
body: <p>I am trying to create a VISX extension for Visual Studio 2010 that contains a few project templates. These templates aren't very complex, but I want to expose some additional configuration for them during creation via a wizard. I have successfully set up my VISX package to deploy the templates to the directory structure I want in VS2010, but as soon as I try to configure and run a wizard, I receive an error when I create the template along the lines of:</p>
  <blockquote>
  <p>Error: this template attempted to load component assembly
  'My.Assembly, Version 1.0.0.0, Culture=neutral, PublicKeyToken=...</p>
  </blockquote>
  <p>My current configuration is as follows:</p>
  <ul>
  <li>All the projects live in the same solution.</li>
  <li>The VISX project includes project references to the project containing the wizards and to each template.</li>
  <li>Each template is built from a project template template (...confusing terminology).</li>
  <li>They are added through the .vsixmanifest designer as content, referencing the projects.</li>
  <li>Each .vstemplate file has a WizardExtension element pointing to the IWizard implementation and containing assembly.</li>
  <li>The wizard assembly is signed.</li>
  </ul>
  <p>The .vstemplate files point to their wizards like this:</p>
  <blockquote>
  <p>&lt;WizardExtension&gt;</p>
  <p>&lt;Assembly&gt;My.Assembly, Version=1.0.0.1, Culture=neutral, PublicKeyToken=a494da9e6e53f845, Custom=null
  &lt;/Assembly&gt;</p>
  <p>&lt;FullClassName&gt;My.Assembly.Wizard&lt;/FullClassName&gt;</p>
  <p>&lt;/WizardExtension&gt;</p>
  </blockquote>
  <p>This, as far as I can tell, is how I'm supposed to do it. What exactly is going wrong? It looks like it can't find the assembly. Are there any other steps I need to take in order to get the assembly visible to the templates? The assembly is deployed to the extension folder when it is installed (I verified this), so it is at least making it out. Is there something special I need to do to the .vstemplate files to tell them to look in the extensions folder vs the GAC? Did I just miss something?</p>
  <p>Note that I have found several pages on the internet stating that I have to GAC the assembly manually or with a script. However, few had my exact scenario (Project template templates being referenced by a VISX project, most examples are using a regular project exported via the project template wizard and having their packages dumped into the VISX folder structure). The only one I found that matched my scenario was an example from Microsoft. I tried to match that, but alas it still does not work. I tried relocating the project I downloaded to reference in this question but I cannot find it again, though.</p>
  <p>Using scripts is how we've done this before, but I want to try and make things a little cleaner using VISX packages. I would like to avoid this, but if it's mandatory to script the VISX to install the template to GAC, I can do that.</p>