I'm trying to compile the project on the TeamCity server and get the following error: 
I assume that TeamCity server does not support # 6 objects in my case. How can I fix this error?
I'm trying to compile the project on the TeamCity server and get the following error: 
I assume that TeamCity server does not support # 6 objects in my case. How can I fix this error?
The fact is that the Func<> types in .NET 3.5 were located in the System.Core assembly. And with .NET 4.0 they moved to mscorlib .
As you can see from the TimCity log, you have both System.Core version 3.5.0.0 and mscorlib version 4.0.0.0 connected at the same time. The problem can be solved in any direction: either both assemblies must be version 3.5 or 4.0.
Source: https://ru.stackoverflow.com/questions/621296/
All Articles