KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have a Visual Studio 2008 .NET C++/CLI Solution. My solution consists of many sub projects. I define a custom build directory for each project and called it "Output". My solution: MyFirstProject (*.exe) MySecondPrject (*.dll) ... MyNthProject (*.dll) Each of the sub project use Log4.net.So I create a directory (called LogBinary) and put log4.net DLL in that folder. Then to use log4net I add this DLL as a reference to each of my project. But when I try to compile my main project (*.exe) I got tons of warning (over 400). Just an example: Warning 110 warning C4945: 'AbsoluteTimeDateFormatter' : cannot import symbol from 'somepath\log4net.dll': as 'log4net::DateFormatter::AbsoluteTimeDateFormatter' has already been imported from another assembly 'log4net'"somepath\log4net.dll" Lots of warnings with: has already been imported from another assembly Why do I get these warnings? Does anybody have a solution to add same DLL to multiple projects (except using GAC)?
Tags (comma-separated)
Save Edits
Cancel