?
Solved

Include outside references when compiling to make an executable file

Posted on 2008-06-24
1
Medium Priority
?
428 Views
Last Modified: 2010-10-05
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

0
Comment
Question by:kalittaair
1 Comment
 

Accepted Solution

by:
kalittaair earned 0 total points
ID: 21866073
solved the puzzle. In the bin/debug directory, an exe is already generated, but more importantly, it includes the dll needed to run.
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Batch, VBS, and scripts in general are incredibly useful for repetitive tasks.  Some tasks can take a while to complete and it can be annoying to check back only to discover that your script finished 5 minutes ago.  Some scripts may complete nearly …
Measuring Server's processing rate with a simple powershell command. The differences in processing rate also was recorded in different use-cases, when a server in free and busy states.
Learn the basics of modules and packages in Python. Every Python file is a module, ending in the suffix: .py: Modules are a collection of functions and variables.: Packages are a collection of modules.: Module functions and variables are accessed us…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
Suggested Courses
Course of the Month15 days, 2 hours left to enroll

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question