Issues with ASP.NET MVC, Razor and VS2013

Hello everybody
Currently, I am not able to navigate to any view from a controller. Instead, I navigate to the metadata. Further, when I write a Html.ActionLink helper, Resharper is not checking neither suggesting the action name and controller name. There are a lot of more issues, all of them related to ASP.NET MVC and Razor, do you know if they are reported issues or perhaps it's problem of my current installation.
I am using VS2013 and R# 8.1.23.546
Thank you

4 comments

Hello,

I have checked that the problem is related with the versión of ASP.NET MVC

With a new empty project (VS 2013) I have the following packages:

<package id="Microsoft.AspNet.Mvc" version="5.0.0" targetFramework="net45" />
<package id="Microsoft.AspNet.Razor" version="3.0.0" targetFramework="net45" />
<package id="Microsoft.AspNet.WebPages" version="3.0.0" targetFramework="net45" />


Everything is allright until I upgrade the packages via Nuget, in this moment, the features of R# related with controllers and views begin to fail

<package id="Microsoft.AspNet.Mvc" version="5.1.1" targetFramework="net45" />
<package id="Microsoft.AspNet.Razor" version="3.1.1" targetFramework="net45" />
<package id="Microsoft.AspNet.WebPages" version="3.1.1" targetFramework="net45" />


Regards

0

I have downloaded the EAP version http://confluence.jetbrains.com/display/ReSharper/ReSharper+8.2+EAP and now the problems have disappeared :)

0

Yep. MVC 5.1 requires changes to the external annotations we ship with ReSharper. 8.2 has those annotations updated by default. 8.1 can get them via the extension manager (search for annotations). Going forward, our external annotations are going to be shipped as a bundled extension, meaning we can update them without having to release the whole product.

0

Thank you for your reply, Matt, I think that it's a great idea to delivery some points without have to upgrade R#
I will check to download the required annotations in R# 8.1
Regards

0

Please sign in to leave a comment.