Update webreference gives troubles with different versions of dll

Posted by Natrium on Stack Overflow See other posts from Stack Overflow or by Natrium
Published on 2009-11-17T13:04:47Z Indexed on 2010/04/05 6:03 UTC
Read the original article Hit count: 336

Filed under:
|

In my application, I use some dll, let's say library.dll, version 1.0 In my webservice, I also use library.dll, but version 2.0

When I do an update of the webreference, the classes inside of the dll are also generated in the webreference.

And this gives troubles because in my application, the classes that are defined in the dll now are also available in the reference and there is a mismatch.

How can I solve this? I need to be able to tell the webservice to ignore the dll-code when updating the webreference in the one or the other way.

I use Visual Studio 2008.

© Stack Overflow or respective owner

Related posts about .NET

Related posts about asmx