Community
Inventor Programming - iLogic, Macros, AddIns & Apprentice
Inventor iLogic, Macros, AddIns & Apprentice Forum. Share your knowledge, ask questions, and explore popular Inventor topics related to programming, creating add-ins, macros, working with the API or creating iLogic tools.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

RegAsm Problems - Please help

3 REPLIES 3
Reply
Message 1 of 4
Anonymous
795 Views, 3 Replies

RegAsm Problems - Please help

Anonymous
Not applicable

Windows XP SP2
INV2008, SP2
Microsoft Visual Basic 2005 Express

I have an add-in that I had successfully compiled and installed on several computers, including my own. I was given a new computer and when I try to run the same install.bat file that simply states:

@echo off
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\RegAsm.exe /codebase FG_AutoNamer.dll
PAUSE

On my new computer, I get the following message in the command window:

Microsoft (R) .NET Framework Assembly Registration Utility 2.0.50727.42
Copyright (C) Microsoft Corporation 1998-2004. All rights reserved.

RegAsm : warning RA0000 : Registering an unsigned assembly with /codebase can cause your assembly to interfere with other applications that may be installed on the same computer. The /codebase switch is intended to be used only with signed assemblies. Please give your assembly a strong name and re-register it.

And a window that opens - see attached graphic.

I have tried changing my user permissions to administrator - what I was on the other machine but the message still comes up. Inventor does not see the add-in. I am at a loss.

Please, can anyone shed some light on this perplexing issue?

0 Likes

RegAsm Problems - Please help

Windows XP SP2
INV2008, SP2
Microsoft Visual Basic 2005 Express

I have an add-in that I had successfully compiled and installed on several computers, including my own. I was given a new computer and when I try to run the same install.bat file that simply states:

@echo off
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\RegAsm.exe /codebase FG_AutoNamer.dll
PAUSE

On my new computer, I get the following message in the command window:

Microsoft (R) .NET Framework Assembly Registration Utility 2.0.50727.42
Copyright (C) Microsoft Corporation 1998-2004. All rights reserved.

RegAsm : warning RA0000 : Registering an unsigned assembly with /codebase can cause your assembly to interfere with other applications that may be installed on the same computer. The /codebase switch is intended to be used only with signed assemblies. Please give your assembly a strong name and re-register it.

And a window that opens - see attached graphic.

I have tried changing my user permissions to administrator - what I was on the other machine but the message still comes up. Inventor does not see the add-in. I am at a loss.

Please, can anyone shed some light on this perplexing issue?

3 REPLIES 3
Message 2 of 4
Anonymous
in reply to: Anonymous

Anonymous
Not applicable

The first dialog is just a warning and can be
ignored.

 

The second one, I don't know what is causing
it.  I haven't run into myself but one other customer also reported the
same problem  He just tried running the batch file again and it
worked.  Let me know if that's all it takes for you too.
--
Brian
Ekins
Autodesk Inventor API

href="http://blogs.autodesk.com/modthemachine">http://blogs.autodesk.com/modthemachine
0 Likes


The first dialog is just a warning and can be
ignored.

 

The second one, I don't know what is causing
it.  I haven't run into myself but one other customer also reported the
same problem  He just tried running the batch file again and it
worked.  Let me know if that's all it takes for you too.
--
Brian
Ekins
Autodesk Inventor API

href="http://blogs.autodesk.com/modthemachine">http://blogs.autodesk.com/modthemachine
Message 3 of 4
Anonymous
in reply to: Anonymous

Anonymous
Not applicable
I got it to run. I ended up closing all applications and tried running it and it worked. However, when I opened Inventor, it could see the add-in, but the add-in wouldn't run. It is kind of sad, all the add-in does it monitor the Panel Bar and when the Frame Generator is activated the first time in a session, it runs a VBA macro that watches the part naming event in Frame Generator. (The naming event isn't accessable outside the VBA environment.) So, I opened the MSVB Express and tried to recompile and received a similar error. However, it did allow me to enter debug mode using a previously compiled version. Now Inventor is recognizing the add-in and it seems to be working. What is weird is I worked on this a lot on my previous computer and never had a problem. I have installed it on other users machines with absolutely no problem. I sure wish I knew what the problem here was, cause there are other projects I need to work on and this error is disturbing and very annoying at the very least.

Any ideas or suggestions would be welcome!!
0 Likes

I got it to run. I ended up closing all applications and tried running it and it worked. However, when I opened Inventor, it could see the add-in, but the add-in wouldn't run. It is kind of sad, all the add-in does it monitor the Panel Bar and when the Frame Generator is activated the first time in a session, it runs a VBA macro that watches the part naming event in Frame Generator. (The naming event isn't accessable outside the VBA environment.) So, I opened the MSVB Express and tried to recompile and received a similar error. However, it did allow me to enter debug mode using a previously compiled version. Now Inventor is recognizing the add-in and it seems to be working. What is weird is I worked on this a lot on my previous computer and never had a problem. I have installed it on other users machines with absolutely no problem. I sure wish I knew what the problem here was, cause there are other projects I need to work on and this error is disturbing and very annoying at the very least.

Any ideas or suggestions would be welcome!!
Message 4 of 4
Anonymous
in reply to: Anonymous

Anonymous
Not applicable

I would very much like to know what the problem is
too.  Unfortunately I've never reproduced the problem myself, which is
usually the first step in diagnosing the problem and finding a
solution.  Please post any additional information you find.  Can you
also post your configuration regarding which OS, programming language and
version, and which version of Inventor?
--
Brian Ekins
Autodesk
Inventor API

href="http://blogs.autodesk.com/modthemachine">http://blogs.autodesk.com/modthemachine
 
0 Likes


I would very much like to know what the problem is
too.  Unfortunately I've never reproduced the problem myself, which is
usually the first step in diagnosing the problem and finding a
solution.  Please post any additional information you find.  Can you
also post your configuration regarding which OS, programming language and
version, and which version of Inventor?
--
Brian Ekins
Autodesk
Inventor API

href="http://blogs.autodesk.com/modthemachine">http://blogs.autodesk.com/modthemachine
 

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report