New Posts New Posts RSS Feed: Add-In
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Add-In

 Post Reply Post Reply
Author
cabbott View Drop Down
Newbie
Newbie
Avatar

Joined: 08-Jul-2008
Location: US
Posts: 1
Post Options Post Options   Quote cabbott Quote  Post ReplyReply Direct Link To This Post Topic: Add-In
    Posted: 08-Jul-2008 at 11:48am
I am just starting to evaluate DevForceEF and the Object mapper is not showing up on the Tools Menu. It does appear in the Add-in Manager and is checked.
How can I fix this?
 
Back to Top
davidklitzke View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 14-Jun-2007
Posts: 715
Post Options Post Options   Quote davidklitzke Quote  Post ReplyReply Direct Link To This Post Posted: 08-Jul-2008 at 1:55pm
Follow this advice from the as yet unpublished DevForce EF Installation Guide:
 

M  Manual Repair of the Missing Object Mapper

The usual cause of a missing Object Mapper is that Visual Studio has a pointer to a “bad” Object Mapper Add-in.

Check for “bad” Add-in

ð    Launch Visual Studio

ð    Select Tools ► Add-in Manager … from the menu.

Add-in Manager probably shows that the IdeaBlade Object Mapper is present:

 
If you don’t see the Object Mapper listed, see the section entitled “No Object Mapper in Add-In Manager”, below.

Visual Studio “remembers” the last time it tried to use this Add-in and it can’t load what it remembers.

Copying a new version of the Object Mapper Add-in on top of the old copy won’t work. Visual Studio won’t try to load it again until we make it forget about this Add-in.

The trick is to

·         Rename the IdeaBlade.DevTools.Orm.AddIn file temporarily,

·         convince Visual Studio that it is gone,

·         restore the Add-in file name, and

·         cause Visual Studio to discover it anew.

The AddIns Directory

Visual Studio looks for an XML file in its “AddIns” directory.

That directory varies depending upon your edition of Visual Studio and how you installed it.

The preferred location is:

C:\Documents and Settings\All Users\Application Data\Microsoft\MSEnvShared\AddIns

For the All Users location, you must have the Show Hidden Files and Folders option turned on to see the Application Data folder.

Alternatively, the directory may be in the user’s directory space at

%HOMEPATH%\My Documents\Visual Studio 8\AddIns

You can copy and paste this into Windows Explorer. Realize that this directory may not exist.

Jiggle the Object Mapper AddIn file

We can proceed now that we know where Visual Studio keeps its Add-in information.

ð    Exit Visual Studio.

ð    Navigate to the Visual Studio “AddIns” directory

ð    Rename IdeaBlade.DevTools.Orm.AddIn to IdeaBlade.DevTools.Orm.AddInXX

ð    Confirm for Windows that it is OK to change the file extension.

ð    Launch Visual Studio.

ð    Select Tools ► Add-in Manager … from the menu.

ð    Verify that “IdeaBlade Object Mapper” is no longer listed.

If you still see the Object Mapper listed, you won’t be able to revive the Object Mapper. There is some other reference to it somewhere. Please contact Customer Support.

ð    Exit Visual Studio.

ð    Restore IdeaBlade.DevTools.Orm.AddInX back to IdeaBlade.DevTools.Orm.AddIn

That should do it. Now we verify that the Object Mapper is installed.

ð    Launch Visual Studio again.

ð    Look for “IdeaBlade Object Mapper” at the top of the Tools menu.

 

Still can’t make it appear?

You’ve tried the Object Mapper Installer, you’ve jiggled the AddIn file, and it still won’t appear in the Tools menu.

You can see the Object Mapper in the Add-in Manager; it just won’t appear in the Tools menu.

Perhaps you customized your installation of Visual Studio. Excluding VB or C# will cause this behavior.

Try the following:

ð    Open the Visual Studio Tools menu.

ð    Select "Customize…".

ð    Select “AddIns” on the Commands tab.  You should see IdeaBlade Object Mapper in the Commands window.

ð    Select and drag the “IdeaBlade Object Mapper” onto the Tools Menu just above "Connect to Device.

 

 

 

 

No Object Mapper in Add-In Manager

If the Add-In does not show up in the Add-In Manager, it could be that the Add-In path is missing from Visual Studio.  To check this, open Visual Studio and select Tools, then Options:

The Options window will open.  Select Add-In/Macros Security as shown in the illustration.

Click on the Add button.  Navigate to the location where the files IdeaBlade.DevTools.Orm.AddIn and IdeaBlade.DevTools.Orm.AddIn.dll are installed.  Consult the section entitled “The AddInsDirectory”, above, for information on where these files are installed by default.  Click OK to complete the operation. 

 

This situation may particularly apply to installations of the operating system or Visual Studio that are localized to languages other than English.  It may also apply to certain installations on the Windows Vista operating system or to certain makes or models of laptop computers. 

Consult this link on the DevForce Forums for more information:

http://www.ideablade.com/forum/forum_posts.asp?TID=25



Edited by davidklitzke - 08-Jul-2008 at 1:56pm
Back to Top
smiller View Drop Down
Newbie
Newbie


Joined: 14-Apr-2008
Location: United States
Posts: 16
Post Options Post Options   Quote smiller Quote  Post ReplyReply Direct Link To This Post Posted: 31-Dec-2008 at 10:17am
For Windows Vista I found the AddIns directory here: C:\ProgramData\Microsoft\MSEnvShared\AddIns
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down