cant add Web User Control (vs 2010) - asp.net

In my project, solution explorer I click on the folder and -> add new Item. I would like to add web user control but I cant see it. In previous versions of visual studio I didnt have such a problem,
any idead on how can I add this template ?
thanks for any help,
Bye
EDIT:
this is how it looks:
http://imageshack.us/photo/my-images/820/controlka.png/
in C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\ItemTemplates\CSharp\1033
I dont have any web zip files :/
But when I create new WebSite or asp.net Web Application tempaltes are available.
Project Im working on is converted from vs2008

Is your project set for Client Profile in your project's properties? If so, change it not to.
Is Web selected in the tree to the right?

Related

Xamarin Forms Item Templates Missing in Visual Studio

I had to restore my Windows to a previous restore point and then Xamarin stopped working. I ended up uninstalling Xamarin and Visual Studio 2015 to get Xamarin working again, which it mostly is. I cannot update Xamarin Forms to the latest stable 2.3.3.180 but 2.3.3.175 is working for now.
The most troublesome issue is when I right click my PCL project and select Add->New Item, in the list of Installed templates there is no Cross-Platform folder and nowhere to select "Forms Xaml Page" item. How can I get these templates installed? Have done reinstall and repair on both VS and Xamarin and I can't get these templates to show up.
Thanks,
Tony
See my post here:
https://stackoverflow.com/a/42341624/2274377
C:\Program Files (x86)\Microsoft Visual Studio14.0\Common7\IDE\Extensions\
Find the correct subfolder. This can be tricky. I had a Xamarin folder, but that was not the right one. In my case it was folder
wa13kl1p.m3s. However, open your folders and check it there is some
Xamarin.Forms.Templates... files in it.
Inside that folder navigate to the T/P/CSharp folder.
Copy the Cross-Platform folder over to C:\Users\Documents\Visual Studio
2015\Templates\ProjectTemplates\Visual C#
Same thing for the ItemTemplates:
But this time navigate to T/I/CSharp folder.
Copy the Cross-Platform folder over to C:\Users\Documents\Visual Studio2015\Templates\ItemTemplates\Visual C#

Convert to Web Application in VS 2015.1

I'm running Visual Studio 2015 Enterprise Update 1.
I created an empty Visual Basic ASP.NET Website targeting the .NET Framework 4.5.2. And I want to convert it to an ASP.NET Web Application.
Under the Website's context menu in Solution Explorer there is no "Convert to Web Application" menu-item, nor is there anything under the Website menu in the main-menu bar:
Where has the feature gone? Has it been removed completely in Update 1?
This is the most confusing part of converting websites to web applications. The way you need to do it is to:
Create a new Web Application project
Copy all of your website contents into it (you could create the *.csproj file in the same website directory, then include all files into the project without actually having to move them)
The command will be available on the WebApp project (under the Project menu, at the bottom)
Basically at that point the command looks at the contents of the WebApp project and makes adjustments so that they are more suitable for a WebApp project.

Not able to see Properties tab for Web Application project in Visual Studio 2010

It must sound a stupid question but I am not able to find the "Properties" window so that i can set the IIS settings in my web application project. I am using Visual Studio 2010 (SP1). The weird thing is for other projects like a console application I am able to see the properties window.
It's because that's a Visual Studio Web Site, not a Visual Studio Project.
When you create the site, choose Project instead, and after that you get to choose the project type, which can be one of the web types. Then you do get the properties tab.
Try using the View menu to get the properties window back Or got to Windows => Reset Window Layout if you need to reset them back.

ASP.NET Web Application template missing in Visual Studio 2012

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:

visual studio no asp.net possibility

so i just installed microsoft visual studio express 2012 for windows 8 (virtual machine) and i noticed there is no option of creating .asp files
normally, i should be able to file -> new web site, c#, empty. And then add a new web form to create an aspx file, but i dont get these options.
i only get file -> new project which creates javascript (javascript) or XAML files (visual basic, visual C#, visual C++)
i assume there is something wrong with installation. i tried installing ASP.NET from the asp.net website but doesnt change anything.
please hold in mind i am a beginner,
any help is much appreciated
You need this one; sounds like you downloaded the WPF version http://www.microsoft.com/visualstudio/eng/products/visual-studio-express-for-web
You must install the web version to do asp.net.
Check this MSDN

Resources