We had the same problem, and not related to 'dynamic' keyword:
we have a cshtml5 webpage:http://18.104.22.168:14460/
we have a very basic test WCF service:http://22.214.171.124:14460/wcf/Service1.svc
(both hosted under IIS, tested and worked perfectly)
When we try to call WCF service from cshtml5 webpage code, we have got the following exception:
JSIL.Core.js?20166271622:10477 Uncaught Error: Type 'System.Runtime.CompilerServices.CallSite`1' has not been defined.
just for your kind information the related client code:
ServiceReference1.Service1Client _soapClient =
We use CSHTML5 8.2 beta.
Any idea, any help?
Thanks for your kind help in advance,