[Mono-dev] Warnings version conflict mono 2.10 xbuild
"Konrad M. Kruczyński"
konrad.kruczynski at gmail.com
Wed Aug 10 10:21:39 EDT 2011
It happened to me when I had references to libraries compiled against
3.5 (which in turn referenced System etc.) in an assembly compiled
against 4.0 (which referenced System too). In my case I could just
recompile those libraries to 4.0.
> Hi all,
> I'm developing on windows in Visual Studio 2010. However, we made a build
> server(linux) that builds under mono (version 2.10 with xbuild). When I
> build on in VS, I don't receive any warnings. However, when building on
> linux i have 72 warnings of which the most of them are reference conflicts
> /opt/mono-2.10/lib/mono/4.0/Microsoft.Common.targets: warning : Found a
> conflict between : 'System.Core, Version=18.104.22.168, Culture=neutral,
> PublicKeyToken=b77a5c561934e089' and 'System.Core, Version=22.214.171.124,
> Culture=neutral, PublicKeyToken=b77a5c561934e089'. Using 'System.Core,
> Version=126.96.36.199, Culture=neutral, PublicKeyToken=b77a5c561934e089'
> I'm building in .Net 4.0 and, as you can see, this is not an error but a
> warning, so building the project succeeds but with a huge ammount of
> warnings. Is there a chance this might be solvable such that these warnings
> don't show up cause I do prefer no warnings at all.
More information about the Mono-devel-list