[Mono-dev] error trying to build using xbuild
rabin
rabin.karki at citrix.com
Tue Nov 30 16:49:02 EST 2010
I have a C# project. It compiles find on VS and MonoDevelop. But when I use
xbuild I get the error:
error CS0011: Could not load type
'System.ServiceModel.Channels.TcpChannelListener`2[TChannel,TChannelAcceptor]'
from assembly 'System.ServiceModel, Version=3.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089'
I don't even have a reference to System.ServiceModel in this particular
project. And when I'm using MonoDevelop it doesn't try to use that
reference, but xbuild somehow puts that reference when compiling files. I
fail to understand the reason. Sorry about this unclear question. It would
be great if someone could point me in the right direction.
Thanks.
--
View this message in context: http://mono.1490590.n4.nabble.com/error-trying-to-build-using-xbuild-tp3066271p3066271.html
Sent from the Mono - Dev mailing list archive at Nabble.com.
More information about the Mono-devel-list
mailing list