I have an ASP.NET web application oriented to .NET 4.5. The project is being built locally, but on the build server (TeamCity) it fails:
... cs (77, 38): error CS0012: The type "System.Enum" is defined in an assembly that is not referenced. You must add a reference to the assembly 'System.Runtime, Version = 4.0.0.0, Culture = neutral, PublicKeyToken = b03f5f7f11d50a3a ".
What could be the reason (and fix) for this?
Vidar kongsli
source share