views:

50

answers:

1

Hi,

Is there a way to create and install a Microsoft Office Add-in without packaging the referred dll files. Assuming Microsoft Office is installed in the target PC where the Add-in can be installed, how to refer the Office dlls using C# code in the Add-in.

Thanks, Ashok.

A: 

Check MSDN.

Paulo Santos
When I exclude the Office dll's how will it get the required assembly reference at the target PC? I tried excluding the dll's but it didn't work after installation.
Ashok
Did you read the whole MSDN article?
Paulo Santos
After changing the Copy Local flag of the assembly, it worked.. thanks
Ashok