![]() |
|
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Newbie
Join Date: Mar 2005
Posts: 5
Rep Power: 0
![]() |
Warning: The dependency 'mydll' cannot be
Warning:The dependency A cannot be copied..
I've got a web application and when I try to buid it, I receive this warning:
Warning: The dependency 'mydll', Version=yyy, Culture=neutral' in project 'myproject' cannot be copied to the run directory because it would overwrite the reference 'mydll', Version=xxx, Culture=neutral'. 'xxx' is the true version that I espect to be used (example: 1.0.1961.23390), and - overall - is the only one version that I can find on my computer. Infact, ther is only one mydll.dll file on my computer, that is the only one computer where code is developed. So version yyy DOES NOT EXIST! (Very strange, don't you think?) 'Mydll' is referenced from: - class library 'B' - a web application named 'myproject' that also reference B dll too. Warning appear ONLY when i build my web application (not when I build B), because when I build the web application: 1) VisualStudio keep mydll.dll version xxx from the output directory of mydll project (example from c:\source\mydll\bin\) and copy it in the web application's output directory (C:\.Inetpub\wwwroot\myproject\bin) 2) VisualStudio see that myproject also need B.dll, so look at B.dll and see (I don't know how) that B.dll needs mydll too, but also see (I really would like to know HOW) that B.dll wants version yyy, (not the xxx, that is the right and only one!) and so try to copy mydll.dll version yyy (I don't know where it would found it) in web application's output directory (C:\.Inetpub\wwwroot\myproject\bin) and so here come our strange warning. I found in internet a lot of developer with my some problem, but no answer for me. What a reference hell! Can someone help me? Thanks a lot and forgive my terrible english. ![]() |
|
|
|
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|