cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

RegAsm : error RA0000

RegAsm : error RA0000

Summary

RegAsm : error RA0000 when .NET COM Interop is set to Yes

Symptoms

Build time error:
ISDEV : error -6210: An error occurred building COM .NET Interop information for Component COMPONENTNAME

Message in log includes:
RegAsm : error RA0000 : Failed to load 'DLLFILENAME' because it is not a valid .NET assembly

Cause

InstallShield may be using the wrong\lower version of regasm.exe on the .NET dll.
It is possible to occur when .NET COM Interop is set to 'Yes' on the component containing the .Net dll.

Resolution

Go to Tools->Options->.NET tab and specify the correct location of the proper .NET version to use.
Specify under the .NET Framework File Locations section.

Related KB Articles

InstallShield Pro/Premier: Error -6210

InstallShield Express: Error -6210
Labels (1)
Was this article helpful? Yes No
No ratings
Comments

Hi

For me, both Net Framework x64 and x32 paths were ok..and issue persist...

Hello ,

I am also getting below error even if .net path is correct. This error is not coming while building other modules.

Error:

RegAsm : error RA0000 : Could not load file or assembly '******.Api, Version=4.0.0.0, Culture=neutral, PublicKeyToken=**********' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
ISDEV : error -6210: An error occurred building COM .NET Interop information for Component _dcshared__NET_DC_P8_Server.dll.5018DE5D_A8FF_4B45_98DC_60FE73FCCC25
Searching project for extract-at-build components..

Please suggest any solution.

Version history
Last update:
‎Jun 07, 2018 02:08 AM
Updated by: