I want to install MVC 3 with visual studio 2010. I am using "Web plateform installer" and selected asp.net MVC 3, it showed message that MVC 3 installed successfully but It is not installed. I tried to launch Web plateform installer from asp.net/mvc3 but still same issue. I downloaded offline installer from:
http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=1491
AspNetMVC3ToolsUpdateSetup.exe 21.6 MB
but it starts installing and then rolls back. Any suggestion please ?
Thanks
Related
I just installed the new release of ASP.Net 5 beta 8. I ran DotNetVersionManager-x64.msi and then WebToolsExtensionsVS14.msi. I tried to open a simple app that worked in beta 7 and it won't load the project with a message
This project is incompatible with the current edition of Visual Studio:
Microsoft Visual Studio Community 2015
Version 14.0.23107.0 D14REL
Microsoft .NET Framework
Version 4.6.00079
I then tried to create a new ASP.Net 5 web project and got this:
The project file 'c:\users\myfolder\documents\visual studio 2015\Projects\WebApplication3\src\WebApplication3\WebApplication3.xproj' cannot be opened.
The project type is not supported by this installation.
I have uninstalled and reinstalled the DotNetVersionManager and WebToolsExtensionsVS14 with the same result.
Fixed it by doing this
Close VS, then delete the folder at %localappdata%\Microsoft\VisualStudio\14.0\ComponentModelCache and restart – Sayed Ibrahim Hashimi
Thank you #SayedIbrahimHashimi
The easiest way to get started building applications with ASP.NET 5 is to install the latest version of Visual Studio 2015 (including the free Community edition).
Install Visual Studio 2015
Be sure to specify that you want to include the Microsoft Web Developer Tools.
Install ASP.NET 5.
This will install the latest ASP.NET 5 runtime and tooling.
Enable the ASP.NET 5 command-line tools. Open a command-prompt and run:
dnvm upgrade
This will make the default .NET Execution Environment (DNX) active on the path.
On Windows 7 and Windows Server 2008 R2 you will also need to install the Visual C++ Redistributable for Visual Studio 2012 Update 4.
You are all set up and ready to write your first ASP.NET 5 application!
Reference...
I'm getting a build server up and running (Windows Server 2008 R2).
The app will be MVC 4.
Do I need to install MVC3 and MVC4 onto the box? Or just MVC4?
I don't want to install a whole bunch of Visual Studio kerfuffle on the build server though. Which the web platform installers seem to be all wrapt up in.
Cheers for any MVC 4 wisdom!
If your application is going to use MVC 4 then all you need to install is ASP.NET MVC 4. You don't need to install Visual Studio. The MVC installer checks if VS is installed and if it is it adds the project templates to VS 2010. Otherwise it deploys only the runtime assemblies into the GAC.
I am trying to open an MVC 3 project on my system but I am getting following error:
Microsoft Visual Studio
The project file 'C:\Users\abc\Desktop\trunk\iCorpNow\iCorpNow.csproj' cannot be opened.
The project type is not supported by this installation.
OK Help
I have both asp.net MVC 2 and asp.net MVc 3 installed on my development machine
I have windows 7 installed on my machine.
I have visual studio 2010 ultimate installed.
Project is developed using asp.net MVc 3 and on Windows server 2008 using Visual studio professional 2010
Please suggest me how to fix this error.
Here are the project types listed in my project file
<ProjectTypeGuids>{E3E379DF-F4C6-4180-9B81-6769533ABE47};{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
Thanks.
The problem you're having is that your project using Asp.Net MVC4 but you've only installed 2 and 3. If you install Asp.Net MVC4 it should allow you to open the project.
The way to tell that this is the problem is by examining the GUIDs which are associated with the ProjectType entry in the project file. In this example they are
{fae04ec0-301f-11d3-bf4b-00c04f79efbc}: C# project
{349c5851-65df-11da-9384-00065b846f21}: Web Application
{E3E379DF-F4C6-4180-9B81-6769533ABE47}: Asp.Net MVC 4
Both C# and Web Application come standard with Visual Studio Pro and above hence the missing piece must be Asp.Net MVC 4
I also had this problem and I found my answer here:
http://social.msdn.microsoft.com/Forums/en-US/06cf7bca-982c-44cf-aec9-99cf399b3000/the-project-type-is-not-supported-by-this-installation
In short:
open Visual Studio Command Prompt
run "devenv /setup" from the command line
Also, you must have MVC3 or 4 or whatever is required before you run this command.
when creating a new project
and
no error messages in setup either !!
I have repeated the setup a few times to no avail
anyone else have the same issue or find an answer ?
Make sure you are targetting .NET 4
Make sure you have removed any previous Beta and RC versions before installing the ASP.NET MVC 3 RTM. Also try installing it by downloading the full installer. Once installed you should see the new templates when creating a new web application in Visual Studio. The templates appear when creating a new web application and not new web site.
I installed MVC 3 from the Windows Platform installer and it worked as expected, and templates were created.
I've been struggling with this issue for a couple of hours until i solved the problem by these steps:
Uninstall SP1 for Visual Studio 2010
Repair Visual Studio 2010
Reinstall SP1 for VS2010
I hope you save some time by taking these steps.
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).