VB.NET 2008 - When i add a COM reference it copies it to the Obj folder
Posted on 2009-04-27
I'm adding an old com reference; msadox.dll (for creating a ms access database)
Like other dll's, i keep them in the project directory so that when i give the code to other people, we wont have missing dll problems.
So i copy msadox.dll to the project folder (C:\Projects\TestProject\msadox.dll), add reference, browse, select this file.
When i do this, the reference location is set to;
Its not even the same file? Whats going on? I do not want dependencies in the bin or obj folder because i delete these folders before sending the code (because it makes the zip file way smaller)
Setting copylocal to false (which is true by default when i add this reference) seems to do nothing.