Solved

Include outside references when compiling to make an executable file

Posted on 2008-06-24
1
417 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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Learn the basics of lists in Python. Lists, as their name suggests, are a means for ordering and storing values. : Lists are declared using brackets; for example: t = [1, 2, 3]: Lists may contain a mix of data types; for example: t = ['string', 1, T…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

777 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