Visual Studio 2017 - ASP.NET Dev Question

I recently built an ASP.NET application using Microsoft Visual Studio 2017.  For some reason I now see dlls from the 3rd-party vendor (DevExpress) appearing in the bin folder.  In the past the references to the dlls was made from the install location of the dlls (as indicated in the registry).

a. What setting did I modify to cause this behavior?
b. Is this the best practice?

I would much rather continuing with this practice.  I need to set the properties in the rest of my projects.

Ray TurnerSenior ConsultantAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

David Johnson, CD, MVPOwnerCommented:
Any referenced .dll's (third party) should be in the bin folder or when you copy the folder onto another system that doesn't have the assemblies in the GAC the solution won't work

Click on the reference in the references tab
Hit F4 to bring up the properties grid
Set "Embed Interop Types" to False (this will allow you to select Copy Local)
Set "Copy Local" to true

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Ray TurnerSenior ConsultantAuthor Commented:
Thank you very much!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.