Asp.Net Core 3.1 Razor View Error: CS1963: An expression tree may not contain a dynamic operation


Question: How do you resolve: Asp.Net Core 3.1 Razor View Error: CS1963: An expression tree may not contain a dynamic operation


Login to See the Rest of the Answer

Answer:
It is most likely that you haven't defined a @modal in one of the ViewComponents or the View. Double-check and see if you have @modals in your ViewComponent cshtml files.

Let me know if this resolves the problem by leaving a comment below: You don't have to sign up for an account or login to comment.





Josh said:

This was helpful..

Posted On: June 13, 2020 21:40:21 PM
Merry said:

Thank you,

Posted On: June 13, 2020 12:45:08 PM


For peering opportunity Autonomouse System Number: AS401345 Custom Software Development at ErnesTech Email Address[email protected]