MVC 5 & # 8594; MVC 5.1 Migration. Problems with Intellisense

I just upgraded my project to MVC 5.1 with MVC 5. The main web.config file was updated automatically, but web.configwas not changed in the main View and Areas folders. I suspect that now I have lost both intellisense and resharper support for my actions, controllers and areas.

Does anyone know the correct web.config content for MVC 5.1 Views? Just replacing 3.0.0.0 with 3.1.0.0 and 5.0.0.0 → 5.1.0.0 did not solve the problem.

This happens in Visual Studio 2012 and 2013 Professional.

+4
source share
4 answers

MS:

MVC 5.1 Tooling Razor IntelliSense VS2013 Update 1 RC

:

VS2013 "Microsoft ASP.NET Web Tools 2013.1 Visual Studio 2013", VS2013 Update 1 RC, MVC 5.1, VS2013 1 RC.

:

MVC 5.1 Razor IntelliSense VS2013 Update 1 RC.

:

  • " " "Microsoft ASP.NET Web 2013.1 Visual Studio 2013"
  • VS2013 RTM
  • VS2013 update 1 RC, . , .
  • Web PI Microsoft ASP.NET Web Tools 2013.1 Visual Studio 2013 Azure SDK 2.2.
+4

NuGet

:

  • TOOLS → NuGet → . .
  • " " "Enter".

MVC intellisense.

+1

, RTM- ASP.NET MVC 5.1 Visual Studio 2013, Visual Studio Razor. Visual Studio 2013. IntelliSense Resharper. VS13 VS13 Update 1

0

NuGet .

System.web.MVC Views/Web.config, Root Web.config.

                                                            

0

Source: https://habr.com/ru/post/1523634/


All Articles