I am trying to create a new .NET website in Visual Studio 2010, but when I go to create a new web site (File>New>Web Site...) I am left with no options to select. Am I missing something? I've searched all around and can't find any way to download templates.
Looks like Templates are not installed in your system.
Close all instance of Visual Studio. Open visual studio command prompt and type,
devenv/installvstemplates
Press Enter. Wait for the process to complete and the open Visual Studio.
You will get all missing templates under Visual Studio installed templates.
Related
OS : Windows-10 creators update.
Visual studio community edition.
We have a website for which we would like to point to our visual studio app to. Is it possible in visual studio we can create an app where we have a container running our website. Currently I have installed visual studio and it's asking me for which modules of visual studio I should download. I don't want to install unnecessary modules.
Screenshot.
Thank you.
Yes, you could create a C# windows forms application and add a webbrowser from the toolbox. in the properties window set the dock to fill it and then in the url box type the url and you're done.
I have installed BizTalk 2013 R2 on Windows Server 2012 R2 and Visual Studio 2013 Ultimate is also installed on the same machine.
I cannot see BizTalk Project template while creating a new project in Visual Studio.
When I ran the BizTalk setup again, Developer Tools box was not selected. When I select the box it gives following message
Features you selected requires the following components to be installed:
WCF HTTP ACTIVATION 4.5, IIS ASP NET 4.5
When I check in the Server Manager, both of the above are already installed.
Kindly help me resolve this issue.
Have you registered ASP.NET 4.5 on the machine?
Try running this command:
aspnet_regiis -i
You can read more about the ASP.NET IIS Registration Tool (Aspnet_regiis.exe) here:
http://msdn.microsoft.com/en-us/library/k6h9cz8h%28v=vs.100%29.aspx
The easiest way to do this would be to run the Visual Studio Command Prompt.
Also make sure to run as an administrator.
To restore the default project templates
In the command prompt, navigate to the location of devenv.exe. This file is located in \Common7\IDE.
Type "devenv /installvstemplates" and press Enter.
NoteNote:
If you are using an Express Edition of Visual Studio, type "Express /installvstemplates" where is either VB, VJS, or VCS for Visual Basic, Visual J#, and Visual C#, respectively.
If this procedure does not restore the default templates, reinstall Visual Studio.
U can follow this link also:
https://social.msdn.microsoft.com/Forums/vstudio/en-US/f1cd2e14-1d7e-4b84-8bc2-871d67e2a942/devenvexe-installvstemplates-not-install-propertly
has anyone else dealt with this? My ultimate goal is to create a new empty web api project. I've been following tutorials and I've encountered the following issue:
My issue is that when I try to create a ASP.NET Web Application project in Visual Studio Pro 2012 I do not see that template as an option. I go to Installed --> Templates --> Visual C# --> Web
All I see is ASP.NET Empty Web Application. So I selected that and then expected the ASP.Net project window to pop up so that I could select "Web Api". However, that dialog never opened.
Does anyone know how/where I can get the ASP.NET Web Application template?
I came across your question as I had the same problem. When I first installed Visual Studio I didn't tick the box to install the Web Components. Here is how I solved the issue:
Close all your instances of Visual Studio.
Run the Visual Studio Installer (I found mine in the Downloads folder still and was named "vs_professional.exe").
For VS 2013 a grey window appears similar to when first installing VS.
When prompted select "Modify" from the list of options.
Tick the list item which I think was named "Web Development" or something similar.
Click update.
Once the installer has finished running launch Visual Studio.
When selecting New Project in Visual Studio I can now see the required templates.
Try to select Framework 4.5.
The Framework 4.0 don't have :)
Jorge Rocha
If you have ASP.NET MVC 4 Web Application as an option under Web when you select it as a new project the project window pops up and you will be able to select Web API.
kale909's solution worked for me. I just added pics here to make it more clear:
then here:
I have downloaded this blog engine
https://github.com/lelandrichardson/MiniBlog
I cannot run it within Visual Studio because it wants IIS : how to change this ?
If your project doesn't load in Visual Studio (it is greyed out), you need to manually edit the project file (MiniBlog.csproj) in a text editor. You just need to look for the UseIIS tag, and change its value to False:
<UseIIS>False</UseIIS>
When you do the above, Visual Studio should be able to load the project. It should now default to the Visual Studio web server.
Once you are able to load the project in Visual Studio, you can choose another web server, if you wish. You just need to right-click on the project in the tree view and then select Properties. From there, if you open the Web tab, you can choose the legacy Visual Studio Web Development Server, IIS Express (you may need to install this), or the Server version of IIS.
Just a note - I was unable to actually build the project that you linked to. There appear to be missing dlls, but that is out of the scope of this question.
try to add IIS Express 7.5 for visual studio http://www.microsoft.com/en-us/download/details.aspx?id=1038
I'm trying to create an ASP.NET Web Application, but this is all I see:
http://img832.imageshack.us/img832/8444/newproject1l.png
http://img837.imageshack.us/img837/3119/newproject2.png
I have confirmed that I have the full Visual Studio installed, not just Visual C#.
Why can't I see ASP.NET Web Application in the "new project" list?
Based on the interface it looks like the "Web Tools" section was unchecked while installing Visual Studio. Try re-running the install, explicitly selecting Web Tools (can't remember the exact name) and seeing if that fixes the problem.