Compiling Interop Assembly into EXE

  • Hello all,

    I'm having some trouble finding good resources for this online, so hopefully you experts can point me in the right direction. I have a custom built console application that uses the Microsoft.Office.Interop.Excel assembly. The package runs as intented when I execute it locally but fails on the server due to... as far as I can tell... the assembly not being loaded on that server. Is there some property or configuration I can set in my console app to include the assembly in the compiled EXE? I would prefer this type of approach over installing the assembly to this particular server.

    Many thanks in advance!

  • Have you tried using Regasm to add it to the GAC? That may do it.

    The absence of evidence is not evidence of absence
    - Martin Rees
    The absence of consumable DDL, sample data and desired results is, however, evidence of the absence of my response
    - Phil Parkin

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply