License Terms of ‘Microsoft.Office.Interop.Excel.dll' RRS feed

  • Question

  • We have developed an application using Visual Studio 2013 ultimate for commercial use, in which we have a reference to ‘Microsoft.Office.Interop.Excel.dll'

    Please confirm whether we can redistribute this dll to the client without any additional licenses

    Friday, August 10, 2018 12:27 PM

All replies

  • You shouldn't (and need not) redistribute a Microsoft Office DLL with your solutions.

    In order for any solution to work with an Office application that application must be installed and licensed on the machine where the solution runs. The DLL will always be present on a machine where the Office application is installed and it will be registered there. At the same time, the PIAs necessary for .NET solutions using the "interop" will also be installed in the GAC.

    A .NET solution that works with MS Office actually communicates with the Office application "interop" via the PIAs, not the DLL. The DLL is COM - PIAs are the "translator" between COM and .NET. So distributing the DLL wouldn't help you, anyway.

    It is possible to generate your own IAs and distribute those with your solution. But you'd also need to develop the solution using the IAs. It's almost always better, however, to use the PIAs as these are optimized for the Office application.

    Cindy Meister, Office Developer/Word MVP, <a href=""> my blog</a>

    Sunday, August 19, 2018 10:58 AM