Apr 5, 2011

Warnings on duplicate .dll imports

When programming in C++/CLI and using references to other C# .DLLs you can get warnings about certain libraries that can’t be imported from the release folder under the imported .dll because the folder is already being imported. The solution is to open up the .DLL project. Go to the properties editor for any non GAC references uses by that .dll and set the Copy To Local setting to false.

About Me

My photo
Tod Gentille (@todgentille) is now a Curriculum Director for Pluralsight. He's been programming professionally since well before you were born and was a software consultant for most of his career. He's also a father, husband, drummer, and windsurfer. He wants to be a guitar player but he just hasn't got the chops for it.