Today in one of the computer i installed visual studio 2010 professional edition, and successfully installed. But in my new project template "Asp.net MVC 2 website" is missing. Also I'm not able to open an already created MVC 2 project also. I'm also having MVC 2 installed with VS 2008 Sp1 in the same machine and is working fine. I uninstalled and installed again, the same is happening. Please help me out of this..
Have you tried downloading MVC 2 RTM separately following the Visual Studio 2010 install? Download here
Alternatively, did you have any of the betas or previews of MVC2 installed prior to installing Visual Studio 2010? You'll need to uninstall these.
When installing or modifying the installation of Visual Studio 2010 ensure you have 'Visual Web Developer' ticked. (see image below). If you just install C# you will not get MVC 2.
Are you creating a new website or project? I just did a fresh install of Professional and MVC 2 is only available under projects.
Related
I am stumped on this one, I am trying to build my first core 1.0 application and for some reason I cannot get the core 1.0 templates to load correctly both in a new solution and when I try to open a sample core 1.0 solution. I currently have Microsoft ASP.Net 5 RC1 Update 1 installed. I am using Visual Studio 2015 Enterprise edition Update 2 with pretty much all the features installed. I have tried repairing visual studio, and also tried reinstalling visual studio with just Visual Studio Community Edition. When I try to add an ASP.Net 5 Core 1.0 project to a .Net solution I get the following error:
When I try to open a solution with an ASP.Net 5 project inside of it I get the following error:
Finally, if I try to remove the project and re-add it through add existing project I get 2 error messages:
I have been stumped on this for the past 2 days, please help! Thanks in advance!
Edit: Just to prove I have the correct binaries installed:
I found the issue, it seems that Asp.Net 5 / Core 1.0 does not support a Visual Studio install to a drive other than the C:/ drive. I had it installed on the D:/ drive and because of this it was not finding the templates from the Asp.Net 5 install. I had to do a full Visual Studio clean uninstall using /uninstall /force, then I had to utilize the /CustomInstallPath to reinstall visual studio to the C:/ drive.
I cloned an ASP.NET vNext project from github and I'm running VS .NET 2013. I was under the impression that Update 4 would allow me to open vNext projects with .kproj files, but I'm getting the following message:
Unsupported This version of Visual Studio is unable to open the
following projects. The project types may not be installed or this
version of Visual Studio may not support them.
Is there something else I need to do in .NET 2013 to open a .kproj project? I'd like to avoid 2015 if I can help it.
ASP.NET vNext is only supported in VS 2015.
You cannot open kproj files in a previous version
I just updated my project to MVC 5.1 from MVC 5. The main web.config file got updated automatically, but web.configs under main View and Areas folders weren't changed. I suspect that's why now I lost both intellisense and resharper support for my actions, controllers and areas.
Does anyone know correct web.config content for MVC 5.1 Views? Just replacing 3.0.0.0 to 3.1.0.0 and 5.0.0.0 -> 5.1.0.0 did not solve the issue.
It happens in both Visual Studio 2012 and 2013 Professional.
Found a solution from this MS article:
MVC 5.1 Tooling Support and Razor IntelliSense are Still Broken Even
After Installing VS2013 Update 1 RC
Known issue:
If a VS2013 user installed “Microsoft ASP.NET and Web Tools 2013.1 for
Visual Studio 2013” before they install VS2013 Update 1 RC, they won’t
be able to get MVC 5.1 tooling support that comes with VS2013 Update 1
RC.
Symptom:
MVC 5.1 tooling support and Razor IntelliSense are still broken even
after installing VS2013 Update 1 RC.
Workaround:
From "Add/Remove Program", uninstall "Microsoft ASP.NET and Web
Tools 2013.1 for Visual Studio 2013"
Repair VS2013 RTM
Install VS2013 update 1 RC if you have not yet installed it. If you have
already installed this, you don’t need to reinstall or repair it.
From Web PI, reinstall Microsoft ASP.NET and Web Tools 2013.1 for
Visual Studio 2013 or repair Azure SDK 2.2.
Update NuGet Packages
Steps:
Select TOOLS –> NuGet Package Manager –> Package Manager Console. This opens the Package Manager Console pane.
In command prompt, type Update-Package and press Enter.
This command will update the MVC files and activate the intellisense again.
Well if you update to ASP.NET MVC 5.1 RTM without updating Visual Studio 2013, you will not get Visual Studio editor support for syntax highlighting while editing the Razor views. You will need to update Visual Studio 2013 to get this support.
So it is not directly connected with IntelliSense or Resharper. But anyway I would try to update VS13 to VS13 Update 1
Update NuGet Packages in Package Manager Console.
Verify the current version of System.web.MVC and update it in the Views/Web.config file and also verify the version in Web.config of Root folder.
So brand new installation of .NET Framework 4.0 and Visual Studio 2010 on a brand new computer. Loading up Visual Studio 2010 and selecting New Project only lists the following project typess under "Web":
ASP.NET MVC 3 Web App
AjaxControlExtender
AjaxServerControl
ASP.NET Server Control
All of the other project types are missing and I can't load existing .NET projects (gives me the "project type not supported" error. Any idea what happened or how I can reinstall the missing templates?
I've already tried running devenv.exe /installvstemplates with elevated privileges.
If you didn't install the Visual Web Developer component, the ASP.NET project templates won't be fully installed. Naturally, because the installer then thinks it doesn't need to put them there as ASP.NET is a web development framework.
In that case, just run the installer again and make sure Visual Web Developer is checked. The installer will then add the appropriate project templates.
Default Project Templates in Visual Studio
Available templates may vary according to Visual Studio version, SKU,
installation options, and other customizations. If you are missing a
template that comes with your installation, run devenv.exe with the
/installvstemplates switch. For more information, see How to:
Restore Default Project Templates.
My desktop management team have just installed visual studio 2008 and there is no pluggins for asp.net ..
is this missed out while they installed visual studio?
can this to be installed again??
Did they install the Web Development tools? It's an option in the installer.
If you go to Help | About you should see something like:
Microsoft Visual Web Developer 2008
listed in the "Installed Products" list.
Running the installer a second time, and ensuring that option is checked should resolve the issue.
Double-check the project templates folder first:
http://msdn.microsoft.com/en-us/library/y3kkate1.aspx
and see if the templates are there. You can always try repairing the VS installation...