This project has moved and is read-only. For the latest updates, please go here.

how register the dlls

Mar 19, 2015 at 4:53 PM
Hi,

I'm using the dlls in a script Task and they are not recognized. It says it can't be embedded, so I suppose I have to Register them. Do you know if I Show Register them with Regsvr32 or Regasm? I suppose that if I also Register it in the Gacutil it will be easier to find it. As you can see I'm a newbie registering dlls :).
Mar 20, 2015 at 1:15 PM
hey men,

Go to the project references and set the option "Embed Interop Types" for each NetOffice assembly to 'false'
You have to register .net addins with Regasm. (regsvr32 can't handle .Net assemblies) Gacutil is not required.
Make sure your assembly is com visible in project options!

*sebastian