|
-
Jun 22nd, 2006, 03:32 AM
#1
Thread Starter
Junior Member
[2.0] Best way to use common code between solutions?
What I want to do:
I have common code for utilities I will use in different programs. I want to store in one place, so that when code is improved (performance/remove bugs) all programs will be updated.
What I do now:
Common code is in a project. I make new programs as solutions, each with its own project code and also the common project code. Common code is compiled as a DLL which I reference/call from the main project, which is compiled as an exe.
Problem:
The common code is compiled as a DLL which I must distribute separately. Also, DLL can be called by other programs not written by me, using my cool utilities!
Solution?
What I want to do is to compile all the code in the solution to a single exe so the DLL is encapsulated and the distribution is a single exe. Seems VS can't do this from IDE. I think can do from command line - but that scares me!
Any way to compile together as exe from IDE? Or is there a better way to store 'common' code for various solutions/projects and stil gat a single exe at the end?
Thanks!
BG
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|