When I try and compile C# code using the “dynamic” keyword, I get the error “Missing compiler required member ‘Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo.Create’”
I’m building using Visual Studio for Mac
I’ve googled the error and it seems that you fix it by adding the Microsoft.CSharp.dll, but this will obviously not work on Mac.
It’s About JIT and AOT compilation. I’m using WEBGL and its AOT. Meaning that it’s not supprting new type creation in the Runtime what dynamic key word is.
I am using 2021.1 and it works normally I can use dynamic and .Net 4. In the newer versions the name was changed to just .NET Framework but it should work the same.
PS: Make sure to have installed new C# SDK as well separately.
Hello, please I’m trying to install ‘Microsoft.CSharp’ in my power shell but i get this error: (Error adding package ‘Microsoft.CSharp’ to project ‘’. The project does not support adding package references through the add package command) I’m using this command: dotnet add package Microsoft.CSharp --version 4.7.0
Hey there! I wanted to follow up with this thread to indicate that the dynamic keyword is not something that we support in Unity. It seems that it did happen to work in earlier versions of Unity. I would recommend avoiding its use if at all possible.
I’m not too sure. What is the API for JsonConvert.DeserializeObject? Can its type parameter be a System.Object? That might obtain the same behavior as dynamic does.