2016.2 EAP 5 - Cannot resolve symbol 'Json' in .cshtml

Hi,

I'm developing an asp.net core 1.0.0 MVC application.
I get the following error when using JsonHelper in .cshtml:

Cannot resolve symbol 'Json'

Some code:

<script language="javascript">
var data = @Html.Raw(Json.Serialize(@Model.TimeBasedStatistics));
</script>

The application builds and runs fine!

5 comments
Comment actions Permalink
Official comment

Feel free to follow and vote for https://youtrack.jetbrains.com/issue/RSRP-460128 ticket.

Comment actions Permalink

Please try the latest EAP build.

0
Comment actions Permalink

EAP 10 same problem

0
Comment actions Permalink

Hi,

still the same problem in EAP 10 .

0
Comment actions Permalink

This might be the same as my issue, not sure.

0

Please sign in to leave a comment.