English

Bug: Cannot find .NET addins after running RegisterDotNetAddins.bat file

Description

The ESRI developer addins for Visual Studio .NET appear under the Tools menu after running the RegisterDotNetAddins.bat file. The addins should also be listed in the Addin Manager dialog box, also found under the Tools menu. If the ESRI addins cannot be found, re-register the addins to the specific Visual Studio .NET version. ArcGIS 9.0 supports Visual Studio .NET 2003.

Note:
The ArcGIS 9.1 installation will register the addins specifically to Visual Studio .NET 2003.

Cause

The addin registration utility registers the addins to the supported version of Visual Studio by default. For example, if the installed version of Visual Studio is unsupported, the addins will not show up in Visual Studio .NET.

An installation of Visual Studio Express may also be the cause.

Workaround

Change the RegisterDotNetAddin.bat file to specifically register the addins to the supported version by using the /version argument.

  1. Verify no Visual Studio .NET session is open.
  2. Open the RegisterDotNetAddin.bat file, using Notepad or other text editor, located in the C:\Program Files\ArcGIS\DeveloperKit\Addins\ directory.
  3. Change the contents of this file to register the addins to the supported version of Visual Studio .NET.

    Code:
    esriRegDotNetAddIn.exe /all /version:7.1

  4. Save the RegisterDotNetAddin.bat file.
  5. Close the editor.
  6. Double-click the RegisterDotNetAddin.bat file in Windows Explorer to register the addins.
  7. Open Visual Studio .NET. The addins are now available.