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.

    If you haven't even tried to resolve your issue, please don't expect the hard-working volunteers here to waste their time providing links to answers which you could easily have found yourself.

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

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