Monday, May 16, 2005

I ran the Setup.exe file generated by the VisualStudio.NET install wizard, and it ran without errors. But my component wasn't installed.

So I tried registering the component manually, and in fact an error is occurring:

C:\Program Files\Vivid Solutions Inc\Setup1>regasm MyToolbarVBNET.dll
Microsoft (R) .NET Framework Assembly Registration Utility 1.1.4322.573
Copyright (C) Microsoft Corporation 1998-2002. All rights reserved.

RegAsm error: File or assembly name ESRI.ArcGIS.Utility, or one of its dependencies, was not found.


I wish the VisualStudio.NET installer would display an error when this kind of error occurs.

Update: Hm. The VS-generated setup file doesn't register the component. I actually had to manually register it with RegAsm.exe. Dang. Will have to figure this one out.

2 Comments:

At 7/25/2005 1:09 PM, Anonymous Anonymous said...

Hi Jon,

Welcome to the nightmare that is VB.Net + ArcObjects. If you add an installer class to your project you don't have to manually register the component. Yell if you want more details.

Barbara

P.S. I work with Bob Littlefield who created the ISA plugins for JUMP.

 
At 7/25/2005 1:10 PM, Blogger Jonathan said...

Hi Barbara - Great to hear from you. It's neat that we have two connections: JUMP and ArcObjects.

 

Post a Comment

<< Home