title: Register a Visual Studio 2005/2008 package
body: <p>I have an existing VSPackage that was originally developed in Visual Studio 2005. Since then the package has been converted into a Visual Studio 2008 project but still retains compatibility with Visual Studio 2005.</p>
  
  <p>The problem I am having is that when I run regpkg it complains with the following error:</p>
  
  <blockquote>
    <p>regpkg : error : None of the packages define a registry root.</p>
  </blockquote>
  
  <p>But I have defined a registry root as follows:</p>
  
  <pre><code>[DefaultRegistryRoot("Software\\Microsoft\\VisualStudio\\9.0")]
  </code></pre>
  
  <p>To convert the project, I remember following the instructions <a href="http://msdn.microsoft.com/en-us/library/cc512930%28v=vs.90%29.aspx" rel="nofollow">here</a>.</p>
  
  <p>Any ideas?</p>
  
  <p>All I want to do is export the registration information into a .reg file so that I can include it in an installer.</p>
  
  <p>Thanks,
  Alan</p>