Click to See Complete Forum and Search --> : mixed libraries


hansipet
April 9th, 2008, 06:34 AM
Hello,

in our company we have a solution with a lot of (dynamic)ibraries which we wont use in all of our projects.
Now to use the unmanaged libraries is not a big problem. here we can use autolink to link agains the right library (debug mode and so on..).
How I can solve the problem to make a reference to the right mixed library (the designer should also work!)?

Best regards
Hansjörg

Alex F
April 9th, 2008, 10:56 AM
If you mean reference to managed library, use solution to do this. When both client and server (managed library) are in the same solution, you can use Projects tab in the "Add Reference" dialog. In this case, Debug client version is linked to Debug server version, and Release to Release.

hansipet
April 9th, 2008, 11:01 AM
The problem that in this case we don't want to have the project of the library in the solution...there are a lot of libraries and they don't change very often. It would be better if we can use only the assembly. But in this case we have the problem with the debug and release dlls ...

Best regards
Hansjörg

Alex F
April 9th, 2008, 02:25 PM
You can mark these libraries as "Excluded from build", this is only way I can think about.

hansipet
April 10th, 2008, 09:01 AM
Thanks for your help...It is really strange that microsft doesn't provide a way to do that....

Best regards
hansjrög