I have visual studio 2010 and mvc2 installed on my machine. Now I want to install mvc4. How can I do that..
I have tried to install mvc3 and mvc4. But both attempt are failed. Do I need to download and install anything than mvc3.setup and mvc4.setup?
Install ASP.NET MVC in Visual Studio first go to this link https://www.asp.net/mvc/mvc4?ocid=soc-n-at-loc--TI-TP&WT.mc_id=soc-n-at-loc--TI-TP and install which edition you are using like visual studio 2012 you will get MVC 4 for that edition good lucky
You could download the standalone installer from here: http://www.microsoft.com/en-us/download/details.aspx?id=30683
Make sure you have SP1 installed for your Visual Studio 2010 before running the MVC installer.
You don't need to have ASP.NET MVC 3 installed in order to install ASP.NET MVC 4. Also it will work side by side with ASP.NET MVC 1 and 2.
You could use this link http://www.microsoft.com/web/handlers/webpi.ashx?command=getinstallerredirect&appid=MVC4VS2010_Loc that you can find in http://www.asp.net/mvc/mvc4 and that will install it using web platform installer (it's easier).
Related
I am attempting to install asp.net MVC 3 to use with Visual Web Developer 2010 Express. I try to install from AspNetMVC3ToolsUpdateSetup.exe. The install log shows this:
MSI (s) (08:E4) [00:22:35:745]: Product: Microsoft ASP.NET MVC 3 -- A
later version of Microsoft ASP.NET MVC 3 is already installed. Setup
will now exit.
A later version of Microsoft ASP.NET MVC 3 is already installed. Setup
will now exit.
I have MVC 2 installed (it came with VWD 2010). I do not see MVC3 or MVC4 in installed programs list. I don't have NuGet installed. How could I manage to install it?
I apparently had a corrupted installation. I was unable to see MVC3 installed in control panel and I was unable to see it in visual studio, but the installer detected it anyway.
I managed to install it by unzipping the installer exe and then running aspnetmvc3vwd2010tools.msi from within it directly. I found that it was the correct msi by accident. Running setup from with in it failed consistently.
Some time ago I have installed the Visual Studio Async CTP
And today I have installed ASP.NET MVC 3 (not RC).
I start receiving "Unable to evaluate expression" in debug mode.
So I have uninstalled Async CTP, ASP.NET MVC 3 and all related updates but with no results.
Would be anybody so kind as to help me figure out?
Example message:
Unable to evaluate expression term 'struct'
OK, here is my experience. I finally got it working... and no full uninstall of VS 2010 was required.
First of all, I am not sure if I had installed ASP NET MVC 3 RC or not. I already had ASP NET MVC 3 RTM and then installed Async CTP. I started getting issues described then uninstalled Async CTP and MVC 3, did not help... I later realised I had not done enough:
In control panel:
Uninstall ASP NET MVC 3
Uninstall ASP NET MVC 3 Visual Studio Tools
Uninstall ASP NET Web Pages
Uninstall ASP NET Web Pages Visual Studio Tools
Uninstall Web Matrix
Then click on "View installed updates" in Control Panel->Uninstall A Program:
Uninstall Async CTP
Uninstall kb2483190
Now install ASP NET MVC 3 RTM and it should work.
Apparently this problem arises when both MVC 3 RC and .NET Framework Async CTP are installed on the same machine.
You need to uninstall MVC 3 RC but since it also comes with ASP.NET Web Pages, NuGet and a Visual Studio update those have to be removed along with it.
To proceed open a Visual Studio command prompt* with Administrator privilege and run all of the following commands:
wmic product where name="Microsoft ASP.NET MVC 3 - Visual Studio 2010 Tools" call uninstall
wmic product where name="Microsoft ASP.NET MVC 3 - VWD Express 2010 Tools" call uninstall
wmic product where name="Microsoft ASP.NET Web Pages" call uninstall
wmic product where name="Microsoft ASP.NET Web Pages - Visual Studio 2010 Tools" call uninstall
wmic product where name="Microsoft ASP.NET Web Pages - VWD Express 2010 Tools" call uninstall
wmic product where name="NuGet" call uninstall
msiexec /package {BC0464FA-A0BA-3E38-85BF-DC5B3A401F48} /uninstall {3069D446-63C5-38F4-9D28-41858024419C}
msiexec /package {85076DFF-7A17-3566-9CC0-488E6E6D4494} /uninstall {3069D446-63C5-38F4-9D28-41858024419C}
If the problem still persists however uninstall .NET Framework Async CTP as well.
This error message usually arises when there is a fairly critical error trying to load the language expression evaluator in the debugger or if the expression evaluator itself has a setup issue. The very next thing I would try is to repair the Visual Studio installation. That will almost certainly clear up this error.
Full uninstall all visual studio components helped me.
Hi all I installed vs 2010 and it should have asp.net mvc 2.0 but it didnt install it. I tried installing it manually but it still does not show under the new projects tab..but it shows installed in control panel. I had vs2010 rc1 before and uninstalled it and it had mvc 2.0 but now for some reason i dont have it! ..Can anyone please help me out...
MVC is published standalone. ASP.NET 4.0 is bundled with VStudio 2010, but you'll need to either download MVC 2.0 or install it using the Web Platform Installer
You're right. Sorry, I had a small brain-fart there. If the projects aren't showing up in the New->Project Dialog, that doesn't neccesarily mean MVC isn't installed, It may just be installed Incorrectly.
Are the assemblies registered in the GAC, you should check this. Also check your VS2010 configuration to see where it's pointing for it's project templates, and verify the files aren't there.
Check that the AddIn DLL is where it should be:
C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\Microsoft.VisualStudio.Web.Mvc.2.0.dll
I've installed full version (not RC nor Beta) of Visual Studio 2010, a then setup within Web Platform Installer 2.0 announce me that I need to install MVC 2.0, so i did it.
When I want to create project "MvcWebApplicationProjectTemplate" in VS I have following message:
error: this template attempted to load component assembly 'Microsoft.VisualStudio.Web.Mvc.2.0, Version=10.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. For more information on this problem and how to enable this template, please see documentation on Customizing Project Templates.
Any idea how to fix it?
Do you think that Web Platform Installer 2.0 might have corrupted this template?
Thanks,
Daniel
VS 2010 comes with MVC2. I am guessing installing it again using WPI made it corrupt. Try uninstalling the MVC2 install (the one through WPI) and then repair the VS 2010 RTM install.
Good luck!
Apparently if you installed MVC2 RC2 after VS2010 there is an issue. Try the following link:
http://haacked.com/archive/2010/02/10/installing-asp-net-mvc-2-rc-2-on-visual-studio.aspx
Visual Studio 2010 repair solved my problem.
i have a problem with asp.net mvc on windows 7... asp.net mvc RC was previously installed and i installed MVC rtm... it says “the project type is not supported by this installation”... is there anyway to register this project type in to visual studio or unregister the rc version?
Uninstall every ASP.NET MVC installation (in control panel) and reinstall the final 1.0 release. If it didn't help, run Visual Studio command prompt as administrator and run:
devenv /resetskippkgs
Not sure. Helped me once. I hope that works for you.
I had the same issue. You have to install MVC 1.0 even though you may have MVC 2. I did that and it worked for me.
OS Version: Windows 7
IDE: Visual Web Developer 2008 Express