Search code examples
c#visual-studiodllvisual-studio-2003bin

Is it Acceptable for Referenced DLLs to reside in the project's \bin\Debug folder?


Amos Moses was a wimp! "Rassling" alligators is nothing compared to this CE / CF Gordian Knotesque mass of spaghetti I'm dealing with.

In my latest gyrations to try to somehow coax this big ball of mud to at least compile and run, I notice that some of the referenced DLLs live in the project's own \bin\Debug folder.

Is that safe, and sound? It seems rather tail-chasey or circular-referencey to me. It appears to work, but...would I be better off moving those DLLs elsewhere?

UPDATE

To be clear, here is what is in \bin\Debug:

enter image description here

...in \bin\Release:

enter image description here

...and how the OpenNETCF* DLLs are referenced:

enter image description here


Solution

  • It appears to work, but...would I be better off moving those DLLs elsewhere?

    In general, I would not recommend having that be the referenced location. It is common to have the referenced assemblies copied to that folder, but they should live elsewhere (and have their HintPath in the C# project file referencing the other location).