简体   繁体   English

无论如何在ASP.NET MVC3应用程序的Visual Studio 2012中使用PageInspector?

[英]Anyway to use PageInspector in Visual Studio 2012 in ASP.NET MVC3 app?

I am using VS2012 Ultimate to work on a ASP.NET MVC3 app and keen on using the new Page Inspector feature. 我正在使用VS2012 Ultimate在ASP.NET MVC3应用程序上工作,并热衷于使用新的Page Inspector功能。 The server side source tracking is not working and diagnostics gives the message: 服务器端源跟踪不起作用,并且诊断给出以下消息:

 Project must use Razor v2 or later 

The error messages page says to Migrate your MVC 3 project to MVC 4 or a later release. 错误消息页面Migrate your MVC 3 project to MVC 4 or a later release.

Is there anyway to do this without upgrading to MVC 4? 无论如何,不​​升级到MVC 4就可以做到这一点吗?

Looks like we can update MVC 3 app to use Razor 2: 看来我们可以更新MVC 3应用程序以使用Razor 2:

http://dotnet.dzone.com/articles/using-razor-v2-aspnet-mvc-3 http://dotnet.dzone.com/articles/using-razor-v2-aspnet-mvc-3

You will not have to update your app to MVC 4, but would need MVC 4 to be installed. 您不必将应用程序更新为MVC 4,但是需要安装MVC 4。

You need to Download MVC4 , that would be the best option i guess. 您需要下载MVC4,这将是我想最好的选择。 You can Download MVC4 from here 您可以从这里下载MVC4

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在Visual Studio 2012中打开的asp.net mvc3应用程序,无法找到程序集“EntityFramework” - asp.net mvc3 application opened in Visual Studio 2012, Could not locate the assembly “EntityFramework” ASP.Net MVC3通过Visual Studio修改日期和小数的文化? - ASP.Net MVC3 Modify culture for date and decimal through or not Visual Studio? 如何在Visual Studio 2012上使用ASP.NET(包含MVC)C#配置或设置Log4Net - How to configure or setup Log4Net with ASP.NET ( included MVC) C# on Visual Studio 2012 ~ ~ 如何在Visual Studio 2012上查看ASP.NET MVC移动页 - How to view an ASP.NET MVC mobile page on Visual Studio 2012 Visual Studio Professional 2012错误:此项目引用ASP.NET MVC项目中缺少的NuGet包 - Visual Studio Professional 2012 error: This project references NuGet package(s) that are missing in ASP.NET MVC project <a>点击时</a>改变颜色<a>(asp.net mvc 4 visual studio 2012)?</a> - Change color <a> when click (asp.net mvc 4 visual studio 2012)? 在Visual Studio 2012调试期间ASP.Net MVC4上未显示CSS - CSS not showing on ASP.Net MVC4 during Visual Studio 2012 Debug 哪个实体框架在 Visual Studio 2012 和 ASP.NET MVC 4 和 Windows 7 中使用? - Which Entity Framework is used in Visual Studio 2012 with ASP.NET MVC 4 with Windows 7? 如何在Visual Studio 2012中为ASP.NET MVC 4配置Microsoft.Owin.Security.Google? - How to configure Microsoft.Owin.Security.Google for ASP.NET MVC 4 in Visual Studio 2012? 更新Visual Studio 2012后无法创建ASP.NET MVC 5项目 - Can't create ASP.NET MVC 5 project after updating Visual Studio 2012
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM