I'm somewhat at a loss as what to do with my development environment. Anytime I open up a solution Visual Studio is prompting me to install "ASP.NET Web pages with Razor syntax 1.0".
If I ignore the prompt and continue into the solution the only thing that appears to not work is intellisense within razor views. Not the end of the world but it is starting to get annoying having this message appear when moving from solution to solution.
I have tried:
Any suggestions on what I can try next?
EDIT:
So, after uninstalling all tools related to visual studio and and visual studio sp1 I re-installed visual studio and service pack1. I went to install MVC3 and the installation failed.
From, there I cleared pretty much every temp file / directory on my machine and tried the web platform installer. Again, it failed.
From there, I tried installed the RTM of MVC3 and the installation was successful: http://www.microsoft.com/download/en/details.aspx?id=4211
After finally getting MVC3 installed I was able to install the tools update and I'm back up and running....good way to waste 4 hours of time....blah...
Razor Pages is a newer, simplified web application programming model. It removes much of the ceremony of ASP.NET MVC by adopting a file-based routing approach. Each Razor Pages file found under the Pages directory equates to an endpoint.
Razor has no ties to ASP.NET MVC because Razor is a general-purpose templating engine. You can use it anywhere to generate output like HTML. It's just that ASP.NET MVC has implemented a view engine that allows us to use Razor inside of an MVC application to produce HTML.
Razor is an ASP.NET programming syntax used to create dynamic web pages with the C# or VB.NET programming languages. Razor was in development in June 2010 and was released for Microsoft Visual Studio 2010 in January 2011. Razor is a simple-syntax view engine and was released as part of MVC 3 and the WebMatrix tool set.
Any suggestions on what I can try next?
I would attempt a Visual Studio 2010 reinstall after uninstalling ASP.NET MVC 3 and WebPages. Then install ASP.NET MVC 3 from the standalone installer.
you have to uninstall all visual studio components (from add remove programs in control panel), install Visual Studio 2010, install asp.net mvc3 (with WPI) before upgrade to SP1, and then install Visual 2010 SP1.
If you upgrade to SP1 without install MVC 3, you will never can install mvc 3 again :)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With