Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics SL forum
Suggested answer

How do you go about getting Code Inspector to show up in Visual Studio 2010

Posted on by 190

I have recently started using VS 2010 for SL development (SL 2011), but I cannot get the "Code Inspector" tool to show up in the "Add-ins Manager" in Visual Studio 2010. I am using VS 2010 Professional. Any ideas?

Thanks,
Tim

  • Suggested answer
    ChandraDX Profile Picture
    ChandraDX 55 on at
    RE: How do you go about getting Code Inspector to show up in Visual Studio 2010

    Resolution steps tested and verified to bring the Code Inspector in Visual Studio 2008 - (VS 2008).

    1.  Navigate to C:\Program Files\Common Files\microsoft shared\DynamicsSL and copy   the files.    

        CodeInspector.Addin

        CodeInspector.dll

    2.  Navigate to the "Visual Studio 2008" folder under the Documents folder of the logged in windows user. Paste the files (CodeInspector.Addin and CodeInspector.dll) to the "Addins" folder.

    for eg. copy the files to C:\Users\USER_NAME\Documents\Visual Studio 2008\Addins

         Note: If Addins folder is not available, create a folder named "Addins"

    3. Open the file "CodeInspector.Addin" in any text editor and set the version to 9.0 as  shown below.

           <HostApplication>

    <Name>Microsoft Visual Studio</Name>

    <Version>9.0</Version>

    </HostApplication>

    4. Close and open Visula studio 2008 and check the availability of "Code Inspector"

    under Tools ->Addins.

    5. Tick the  "Code Inspector" activate the code Inspector for your Dynamics SL Codes.

  • Suggested answer
    Apps Mexico Profile Picture
    Apps Mexico 1,090 on at
    RE: How do you go about getting Code Inspector to show up in Visual Studio 2010

    The CodeInspector also needs to add a reference to Interop.SAFTypeLib.dll

  • Apps Mexico Profile Picture
    Apps Mexico 1,090 on at
    RE: How do you go about getting Code Inspector to show up in Visual Studio 2010

    Hi, I did this to add the CodeInspecto to VS 2008

    1. open Tools - Options - Enviroment - Add-in/Macros Security and 
    2. add the path C:\Archivos de programa\Archivos comunes\Microsoft Shared\DynamicsSL
    3. Edit the file C:\Archivos de programa\Archivos comunes\Microsoft Shared\DynamicsSL\CodeInspector.Addin
      1. Change <Version>8.0</Version> by  <Version>10.0</Version>
    4. Restart VS
    5. Open Tools - Add-in Manager and Enable the CodeInspector for Dynamics SL
    Now you can use the code inspector.

    Juan Carlos Navarro Ramírez | Director | Apps Mexico |

  • Rachel Moore Profile Picture
    Rachel Moore on at
    Re: How do you go about getting Code Inspector to show up in Visual Studio 2010

    Tim,

    I apologize for the wrong information.

    Thank you for clarifying.

  • Re: How do you go about getting Code Inspector to show up in Visual Studio 2010

    That was NOT the resolution. The development machine did have a full install. It required a client uninstall and reinstall and even after that the custom controls do not show up without having to add them manually. Seems like a poor quality install. I have a workaround, but this solution you reference was not the fix.

    Thanks,

    Tim

  • Rachel Moore Profile Picture
    Rachel Moore on at
    Re: How do you go about getting Code Inspector to show up in Visual Studio 2010

    Hello Tim,

    In my research of this problem, it looks like one of our support members was able to help you with this issue.  I'll go ahead and provide the information here anyway just in case any one else is experiencing the issue and comes across this topic.

    In order for Code Inspector to work it needs a full install of Dynamics SL as well as Visual Studio installed.

    If you'd like to add anything else regarding this issue please feel free to do so.

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,995 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,610 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans