Will Visual Studio 2010 SP1 (beta) break asp.net MVC 3 (RTM)? - visual-studio-2010

I've got VS 2010 (no service pack) and asp.net MVC 3 installed. I would like to try out the VS2010 SP1 beta but afraid that it will break my MVC 3 projects.
Does anyone know if i can install SP1 beta right on top of MVC 3 RTM?

It looks like this is being discussed here:
Installation of Visual Studio 2010 Service Pack 1 Beta and Asp.net MVC 3

Related

Use web api 2 in visual studio 2010

How can I use web api 2 in Visual Studio 2010.
Is there any way I can use web api 2 in VS 2010?
Can somebody please help or guide?
If you want to include Framework version 4, you can follow these steps. In Visual Studio 2010 to add a project of type ASP.NET MVC Web API we can:
1 - Have .NET Framework 4 & ASP.NET MVC 4 installed.
2 - Add a new project and select MVC 4
( on this screen there is no Web API template which is where many users may expect to see it )
3 - Select the Web API Template
You can see the answer here
But in your case, you need to install framework version 4.5. Each version of Visual Studio prior to Visual Studio 2010 is tied to a specific .NET framework. Visual Studio 2010 and beyond allow for targeting of prior framework versions but cannot be used for future releases. You must use Visual Studio 2012 in order to utilize .NET 4.5.
But one user has found a scenario where we can use framework version 4.5 in VS 2010, please see the answer of David Woodward here. If you can install VS 2012, it will be much easier since you don't need to download and install anything else.

How can I reset/get back razor intellisense and syntax highlighting?

I had a problem with my Visual Studio 2010 install - managed to sort it by a repair, and reinstall my addon's etc., but now the intellisense and syntax highlighting has disappeared from my cshtml files - I've reinstalled the asp.net mvc 3 RTM and that hasn't fixed it...I've trying a devenv /ResetSettings, but no change.
Is there anything else I can do to try and bring back my lovely highlighting?!
Ok solved it - When uninstalling MVC 3 Visual Studio Tools, I didnt uninstall asp.net webpages visual studio tools, which MVC 3 depends on, once I uninstalled this also and then reinstalled the MVC 3 RTM, my syntax highlights etc came back! phew!
Try downloading "ASP.NET Web Pages with Razor Syntax"
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=B7937C34-3B53-47B7-AE17-5A72FA700472
Just did this and it worked:
Uninstall:
ASP.NET MVC 3 - Visual Studio 2010 Tools Update
ASP.NET MVC 3 - Visual Studio 2010 Tools Update - ESN (Language pack, in my case)
ASP.NET MVC 2 - Visual Studio 2010 Tools Update
ASP.NET MVC 2 - Visual Studio 2010 Tools Update - ESN
ASP.NET Web Pages - Visual Sutdio 2010 Tools Update
ASP.NET Web Pages - Visual Sutdio 2010 Tools Update - ESN
Reinstall everything again. It worked without rebooting.

Having MVC 2 with both VS 2008 and VS 2010

I had VS 2010, which gave me MVC 2 out of the box. Then, I installed VS 2008 Professional Edition.
I wanted to do MVC 2 with VS 2008. I had to download MVC 2 for VS 2008 SP1, which I did. Now, when I try to install MVC 2 for VS 2008 SP1, it tells me that I already have MVC 2 installed in another location and I must remove that first. I guess it is referring to the MVC 2 installation that VS 2010 gave me.
How do I let both of them co-exist?
Remove MVC which was installed with VS2010 (it's avaible in add/remove in control panel) and install MVC 2 RTM. It's newer then MVC that you get with VS 2010 and it should work with both versions of VS.

ASP.NET MVC 2 Preview/Beta Visual Studio Questions

ASP.NET MVC 2 Beta was just released and I'm a bit confused as to what is required to run it.
Does it require .NET 4?
If I have an App that was created using Visual Studio 2010 Beta 2, can I port it to ASP.NET MVC 2 Beta by referencing the proper DLLs? If so what DLLs do I need?
Can I run ASP.NET MVC Beta 2 on .NET 4 ready hosting server (with ASP.NET MVC 2 Beta installed)?
In this comment by Phil Haack, he offers instructions on how to run "ASP.NET MVC 2 on VS2008 side by side with VS2010". If I do this setup, would I be able to run an ASP.NET MVC 2 Beta with VS 2010 Beta 2 but without the tools?
http://www.microsoft.com/downloads/details.aspx?FamilyID=4817cdb2-88ea-4af4-a455-f06b4c90fd2c&displaylang=en
If you read through the download page, you can see only .NET Framework 3.5 SP1 is necessary. So .NET Framework 4 is not required.
This should help: http://www.hanselman.com/blog/CheesyASPNETMVCProjectUpgraderForVisualStudio2010Beta1.aspx
Update
I misread the question. Based on this post by Phil Haack, it appears you can't migrate from VS 2010 Beta 2 to ASP.NET MVC 2 Beta:
Unfortunately, because Visual Studio 2010 Beta 2 and ASP.NET MVC 2 Beta share components which are currently not in sync, running ASP.NET MVC 2 Beta on VS10 Beta 2 is not supported.

ASP.NET MVC 2 and VS 2010 Beta 2

I have a VPS and I would like to be able to run ASP.NET MVC 2 apps that were built in Visual Studio 2010 Beta 2.
Which ASP.NET MVC 2 do I need to install (is it Preview 2?) and where can I get the installer for it since all I can find are MVC 2 RC for VS 2008?
You can install Framework 3.5 SP1 on the server, and copy System.Web.Mvc.dll to the bin directory, then it will work. You can extract the DLL from the GAC of the machine you have Visual Studio 2010 on. (Perhaps you have some other references too, that you will need to copy).

Resources