© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•12mo ago•
4 replies
Cyclomatic

DLL references

Hi, I've got project A that references project C.

I've also got project B that references the dll from project C.

Now I want to modify project C and split it into C' and D, where C' contains the same method signatures as C but D has some datatypes/methods as well that have been pulled from C and moved to D. This all works fine, I can build project A by references project C' and D

Questions:

1) Can I place C'.dll (but has same name as C.dll) and D.ll in project B's bin directory (and overrwite/remove original C.dll). Will B still run assuming that the signatures are ok? Or will it complain because some of the datatypes that used to live in C.dll are now in D.ll

2) Is there anyway to build B against C'.dll (and D.dll?) without changing the source code of B

Basically the issue is I have a project out in the wild already that uses C.dll, and I want to change it to use C'.dll (with same name as C.dll) and D.ll but without having to rebuild it

Sorry if that makes no sense...
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,828Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

✅ UI.dll added to references but not in toolbox
C#CC# / help
9mo ago
✅ Circular References
C#CC# / help
2y ago
✅ Creating Dll
C#CC# / help
2y ago
decompiling .dll
C#CC# / help
3y ago