Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Module dependencies in VS 2003

Status
Not open for further replies.

JScannell

Programmer
Jan 9, 2001
306
US
I have an apparent dependency problem with a VS 2003 solution. I had to add some references after my code was retrieved from SourceSafe. As a result, when I now load the project I get sev eral errors and warnings about dependencies. Basically when I load the solution I get errors like:

Error: The dependency 'Helper, Version=1.0.1850.31694, Culture=neutral' in project 'ReportControls' cannot be copied to the run directory because it would conflict with dependency 'Helper,Version=1.0.2244.20235, Culture=neutral

And I get an error message that is just the opposite of the one above:

Error: The dependency 'Helper, Version=1.0.2244.20235, Culture=neutral' in project 'ReportControls' cannot be copied to the run directory because it would conflict with dependency 'Helper,Version=1.0.1850.31694, Culture=neutral

The place where I include the Helper.dll is in the module Reports (which never shows up in the error messages) and the version according to the properties of the actual .dll is 1.0.1850.31694. I can't find any reference to that DLL anywhere else, but there MUST be a place where it is mentioned and where the expected version is 1.0.2244.20235.

Where do I look? What's the fix?

Thanks in advance,

Jerry Scannell
 
Like I said in my original post, I had to add references after retrieving the solution from SourceSafe. Somewhere in the setup is some dependency references that I can't find. As a result, if I add reference version 1.1850 and this dependency property that I can't find says it should be 1.2250, I get an error when it tries to load. So what I need to know is where to find those embedded references to 1.2250 so I can change them.

web.config doesn't have things like this. That's a runtime file. I'm experiencing IDE issues loading the solution.

Thanks,

Jerry Scannell
 
You can still try removing all the references and add them in as necessary i.e. Right click your website in the Solution Explorer, click Property Pages and remove all the references that it shows.

If you still have the same problem once you've added the correct ones back in, then you'll need to work out which of the references you have added have their own dependencies, and update them to use the same version (if two versions won't happily play alongside one another).

Mark,

Darlington Web Design[tab]|[tab]Experts, Information, Ideas & Knowledge[tab]|[tab]ASP.NET Tips & Tricks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top