i try to compile some code with Roslyn, but get the following error message:
CS0012: The type 'Func<,>' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
I'm, still wondering about the message, because Func<, >
should be in mscorelib and not in System.Runtime
. I've searched for this bug and only find a hot fix which should help, but does not.
Does any one had similar issues with .net 4.5.1 and the newest Roslyn version?
Thank you!
System.Runtime
? – Rhodian