Microsoft Developer Network > Forums Home > Microsoft Visual Studio 2010 Beta 2 Forums > Visual Studio Extensibility Beta 2 > add-in directory - 'Visual Studio 10' or 'Visual Studio 2010' ?
Ask a questionAsk a question
 

Answeradd-in directory - 'Visual Studio 10' or 'Visual Studio 2010' ?

  • Wednesday, November 04, 2009 5:38 PMKristoferA - Huagati Systems Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    On my local installation of VS2010 beta 2, I have both a directory called "Visual Studio 2010" and a directory called "Visual Studio 10" under %userprofile%\Documents. I placed my add-in under "Visual Studio 10\addins" and it loaded fine, so made that the target in for the .addin file in my add-in's installer.

    However, I have had reports from users who says that their VS2010 add-in directory is located under "Visual Studio 2010\addins". Which one is correct and why the discrepancy?

    (Disclosure: I used to have VS2010 beta 1 on the same system, so my machine may have been 'tainted' by the earlier release although I uninstalled it before installing beta 2)


    Kristofer - Huagati Systems Co., Ltd.
    Cool tools for Linq-to-SQL and Entity Framework:
    huagati.com/dbmltools (add-in with new features for Visual Studio 2008's L2S and EF designers)
    huagati.com/L2SProfiler (Query profiler for Linq-to-SQL and LLBLGen Pro)

Answers

  • Wednesday, November 04, 2009 8:06 PMSalec Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    I believe having Beta 1 installed is why you have two different folders.  The default is to use "Visual Studio 2010" but this can be overriden.

    What you should probably do is check the registry for the right value. It appears to be under
    HKCU\Software\Microsoft\Visual Studio\10.0\VisualStudioLocation

    I'm not 100% certain about that so hopefully a moderator will correct me if I'm wrong :)

    -Shaun

All Replies