Issue

Recently I am trying to create a dynamic variable (using new feature DLR introduced since FW 4.0) by assigning some object in an .NET Standard 2.0 library project.

When I try to compile the application I was faced with the following error

Missing compiler required member ‘Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo.Create’

Solution

When we created a .NET Standard 2.0 library project not all environment components will be referred to the project. So to solve this issue we need to add a reference of Microsoft.CSharp.dll from Nuget and note this is DLL is compatible with .NET Standard 2.0