c# - Cannot define a class or member that utilizes 'dynamic' compiler required type 'System.Runtime.CompilerServices.DynamicAttribute' not found -


i'm facing issue asp.net core targeting framework 4.6.1.

cannot define class or member utilizes 'dynamic' because compiler required type 'system.runtime.compilerservices.dynamicattribute' cannot found. missing reference? + public class _views_home_index_cshtml : microsoft.aspnetcore.mvc.razor.razorpage predefined type 'system.boolean' not defined or imported + public class _views_home_index_cshtml : microsoft.aspnetcore.mvc.razor.razorpage type 'object' defined in assembly not referenced. must add reference assembly 'mscorlib, version=4.0.0.0, culture=neutral, publickeytoken=b77a5c561934e089'. + public class _views_home_index_cshtml : microsoft.aspnetcore.mvc.razor.razorpage type 'object' defined in assembly not referenced. must add reference assembly 'mscorlib, version=4.0.0.0, culture=neutral, publickeytoken=b77a5c561934e089'. + public microsoft.aspnetcore.mvc.viewfeatures.imodelexpressionprovider modelexpressionprovider { get; private set; } predefined type 'system.object' not defined or imported + public microsoft.aspnetcore.mvc.viewfeatures.imodelexpressionprovider modelexpressionprovider { get; private set; } predefined type 'system.void' not defined or imported + public microsoft.aspnetcore.mvc.viewfeatures.imodelexpressionprovider modelexpressionprovider { get; private set; } type 'object' defined in assembly not referenced. must add reference assembly 'mscorlib, version=4.0.0.0, culture=neutral, publickeytoken=b77a5c561934e089'.

here references

the project on bitbucket , when teammate pull project doesn't facing issue.

you need reference microsoft.csharp dll .net 4.6.1 project dynamic work.


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -