We had the same problem, and not related to 'dynamic' keyword:
we have a cshtml5 webpage:http://126.96.36.199:14460/
we have a very basic test WCF service:http://188.8.131.52: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,