nathan 0

nathan 0

  • NA
  • 1
  • 0

C# with DLL Problems

Apr 2 2004 6:17 PM
Hey! We are working on a bigger Online project in C# and have a BIG problem with DLL files. We have Develop 4 controllers(Window control Librarys) and all the 4 controllers inludes a dll file cald Transfer.dll. This file is in the /bin/debug catalog on al the controls, and when added to the main project we set the Tranfer.dll to be in the head projects bin/debug catalog. This file have been updated over time so not all controlers have the newes one, this became a big problem when adding the controls to the main project. We hade to switch the Transfer.dll on all controlers so that thay al hade the newes version. But we got the first part to work on one computer. When we then copy it to another computer we see that the version nr on the dll files is still correct, but when we starts the project(not compiling, just open) the dll files is changing to old ones. The computers we have copy the project to have all develop difrent versions of the controlls in the project before. And what version the dll files become simes to depend on what computer we are starting the project at. If we have got it right, we are not jusin global Assembly chach. Our dll files is not in the winxp/Assembly/ . If we use MS.NET Framework config 1.1(in the controlpanel) we can se on the compiled project file that it have mor then one dll file with the same name but with diffrent versions. How do we do so the controls and the main project always use the newes version of the dll files? Here is some errors that we get when we open the project Warning: The dependency 'Transfer, Version=1.0.1540.35683, Culture=neutral' in project 'GameClient' cannot be copied to the run directory because it would overwrite the reference 'Transfer, Version=1.0.1513.34935, Culture=neutral'. C:\Documents and Settings\Snowman\Mina dokument\test\31 mars 19_20\Client\Client.cs(589): The variable 'UserList' is either undeclared or was never assigned. UserList is a own made controler Hope you understand me =) //Snowman

Answers (1)