Include outside references when compiling to make an executable file

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.

Best Regards,
Dave

kalittaairAsked:
Who is Participating?
 
kalittaairConnect With a Mentor Author Commented:
solved the puzzle. In the bin/debug directory, an exe is already generated, but more importantly, it includes the dll needed to run.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.