Microsoft Developer Network > Forums Home > Microsoft Visual Studio 2010 Beta 2 Forums > Visual Studio Extensibility Beta 2 > Is it possible to use a custom project wizard that isn't registered with GAC?
Ask a questionAsk a question
 

AnswerIs it possible to use a custom project wizard that isn't registered with GAC?

  • Monday, November 02, 2009 3:56 PMSalec Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hello,
         I'm working on creating a wizard that will be tied to a custom project for the isolated shell.  I've read that in order to do this I must create a com exposed DLL and register it with the GAC, then use its strong name inside of the <WizardExtension> element.  This can be quite annoying to develop as i have to register the assembly after each build and remember to unregister it after I'm done testing.  Also, this makes deployment of my shell less trivial as I now pretty much have to use microsoft installer.

    Is there a way I can use the wizard without registering it into the GAC?  The wizard is built at the same time as the rest of the shell and can be embedded wherever it needs to be to make it work.

    Thanks,

    Shaun

Answers

  • Monday, November 02, 2009 4:49 PMQuan ToMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Yes, this is possible.
    In your VS Template, refer to the strong name of the Wizard Extension.
    In your VSIX file, use the <Assembly> tag and add a strong name as the attribute of the tag and the name of the actual assembly in the VSIX as the value.
    • Marked As Answer bySalec Monday, November 02, 2009 6:57 PM
    •  

All Replies

  • Monday, November 02, 2009 4:49 PMQuan ToMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Yes, this is possible.
    In your VS Template, refer to the strong name of the Wizard Extension.
    In your VSIX file, use the <Assembly> tag and add a strong name as the attribute of the tag and the name of the actual assembly in the VSIX as the value.
    • Marked As Answer bySalec Monday, November 02, 2009 6:57 PM
    •  
  • Monday, November 02, 2009 6:57 PMSalec Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Excellent! This is perfect!  Thanks =)