Include outside references when compiling to make an executable file
Posted on 2008-06-24
I am trying to make an executable file from the command prompt in C#. I need to include the references for Acrobat and AFORMAUTLib. I have tried using r:\"C:\Program Files\Adobe\Acrobat 8.0\Acrobat\plug_ins\AcroForm.api" which is where the AFORMAUTLib lives and "C:\Program Files\Adobe\Acrobat 8.0\Acrobat\Acrobat.tlb which is where the Acrobat. These paths were taken form VS2008, Project, Add Reference, COM Tab when I included them during the build. Now when I try to make the program an exe using the csc.exe, it cannot find these files.