"File > New > Web site" is missing so I am unable to follow a tutorial I intended to use.
"File > New > Project" Is there but I need Web Site.
Visual Studio Community 2017 Version: 15.5.1
ASP.NET is checked in the installer
I am new to Visual Studio 2017 & any help is appreciated. Thanks.
Update: This is a picture from MSDN showing Web Site is a tab we should have...
Please check this blog: Visual Studio 2017 Version 15.5 Preview and check the following information:
Creating ASP.NET Web Applications: We’ve rearranged the ASP.NET project creation menu items a little bit to improve discoverability and increase the likelihood that you’ll choose the right project type for what you’re trying to do. Now, the commands to create a Web Applications or a Web Site are visually next to each other in the File->New Project dialog. This should help the majority of people discover the Create a New Web Application path correctly the first time.
Per the above message, we can know that the File>New-Web Site… has been moved into the File>New>Projects…, I checked it in my VS 2017 15.5.2 and it display as expected, please check the following:
These is no option anymore in VS to create web site, not creating project.
But you can open existing web site: File -> Open -> Web Site.
To create new web site as project:
File -> New -> Project -> Visual c# -> Web > Web Site:
Open Visual Studio Installer and select ASP.NET and web development then press modify.
My understanding is that the initial installation of VS2017 does not include web site projects. Go the the File > New > Project screen and select the option to install more templates.
Related
I am trying to upload a .NET application using visual studio 2019. This uploads, however, I need to make config changes in the .ebextensions folder. This is not showing up in visual studio. Where is the .ebextensions folder in my .NET application?
In Windows explorer
It would be in the root of your project. I don't think it's created by default, so if it isn't there you need to create it. See the details of adding it to a .NET project here.
If you are looking for it via the Visual Studio Solutions Explorer, it probably won't show up unless you enable Show All Files.
You can find this option here:
Show All Files button in VS 2019 sidebar
I am starting to study ASP.NET MVC but now I see that I don't have the whole "web section" when I open new project. Before I studied pure C# (Console Applications) so I didn't really need it and I haven't noticed that it doesn't exist in my Visual Studio.
So I can't make a new MVC project... How can I add it? Is there a way of adding it without reinstalling the Visual Studio? PS: I use Visual Studio 2015 Community.
Try running the installer once again and select the appropriate checkboxes for ASP.NET or Web development.I think you may not have selected that option when installing or it might have got missed.
I have no idea of C#. I downloaded mvc blog with following files:
i have visual studio 2013. i want to know how can i run the website.
error shown:
A Project with an output type of class library can not be started directly
There are multiple projects in given solution & the selected project is class library which obviously can't be started with run button.
Open solution in visual studio, right click on website/webapplication with MVC NBlog.Web , select option Set as StartUp Project & then run application.
I am trying to start an MVC 5 project after installing a fresh installation of Visual Studio Community 2013 but when I go to
New Project > Templates > Visual C# > Web > Version2012
all I see in the middle pane is ASP.NET MVC 4 Web Application. Does anyone have any ideas why I do not have ASP.NET MVC 5 Web Application?
I have .NET Framework 4.5.1 selected.
In Visual Studio 2013, you need to select ASP.Net Web Application.
Then you can select what type of Web Application in next step.
You must choose New Project > Templates > Visual C# > Web > ASP.NET Web Application and then you will be able to choose MVC between the core references WebForms, MVC and WebAPI
They merged all the Web Applications into one project type. Select ASP.NET Web Application then in the next menu, click MVC to create a new MVC 5 project.
A description of the ASP.NET Web Application project can be found here
I had to uninstall all old versions of Visual Studio and then repair the Community version and then the template has miraculously appeared, thanks to everyone who posted.
I am trying to deploy my C# windows forms application using Visual Studio 2013 Express. I have followed the guide on http://msdn.microsoft.com/en-us/library/vstudio/wtzawcsz.aspx but when I try to create a new deployment project, the option to choose it is not there. Is there an additional package I need to download perhaps? I'm not sure how to deploy it if I can't create a new deployment project.
Any help would be appreciated. Thanks
SOLUTION:
I guess I didn't have the correct add-ins installed. However, I was able to use a quick & easy tool to publish my application. I simply right-clicked on my solution in the solution explorer, and then clicked publish, and followed all the steps in the wizard.