Ask a questionAsk a question
 

Proposed AnswerWhy Addin is not loaded?

  • Saturday, July 11, 2009 7:31 PMmiridfd Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi,

    I've created an addin for the IDE of VS.
    I've checked the two relevant checkboxes in the Addin Manager. (Startup and its name).
    in the .addin xml file, everything just seem to be right written:

    <

     

    Assembly src="file">C:\Program Files\Miners\trysofi\trysofi.dll</Assembly>

    <

     

    FullClassName>trysofi.Connect</FullClassName>

    <

     

    LoadBehavior>1</LoadBehavior>

    <

     

    CommandPreload>1</CommandPreload>

    <

     

    CommandLineSafe>0</CommandLineSafe>

    but, it is not getting loaded when launching VS.

    Any idea?

    Thanks

All Replies

  • Tuesday, September 08, 2009 5:49 AMparas kumar Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi miridfd,
    Where you have put the addin file?
    If the addin file is in the proper location then
     1) remove the file from there and start VS,
     2) Close VS.
     3) Put the addin file back again and restart VS.
    On doing above steps is visual studio giving some kind of error while starting up(Sometimes VS disables addin if it causes some runtime error while loading up)?

    Can you check in Options->Addins whether your addin is there or not?

    -Paras
  • Tuesday, September 08, 2009 6:04 AMmiridfd Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    I've put it under c:\Users\MyDocuments\Visual Studio 2008\Addins

    The point is that I wrote the addin using VS2005 version, it all worked fine. Then, I copied the .addin file and put it in the right location ( the path above ) while changing the tag of version of VS to be the right one (instead of 8 version for VS 2005, I wrote 9).

    Still, it is not getting loaded....

    Thanks a lot for the try!

    Miridfd
  • Tuesday, September 08, 2009 6:23 AMparas kumar Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Proposed Answer
    It seems you are trying to deploy VS-2005 created addin in VS-2008 :

    Hope this helps :
    http://www.petermorano.com/Using-Visual-Studio-2005-Add-ins-In-Visual-Studio-2008.aspx

    -Paras
    • Proposed As Answer byparas kumar Tuesday, September 08, 2009 7:10 AM
    •