Unable to build C# project

You have this error in your output:

Missing compiler required member 'Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo.Create'

You need to add a reference to the DLL Microsoft.CSharp.dll.


As similar to Saminathan S's comment in the accepted answer. If you are using .NETStandard projects (in my case NETStandard 2.0) you need to add Microsoft.CSharp from NuGet rather than as a reference in order to resolve this build error. I was using Visual Studio Community on a Mac.


Quick solution.

Right click on Packages > Add NuGet Packages... > Microsoft.CSharp

This worked for me. [Mac, Visual Studio 2017 Community]