Eric
Eric

Reputation: 2128

VS2010 ASP.NET Starter Project

I am trying to create an ASP.NET web site, and I would like to start with the template here: http://weblogs.asp.net/scottgu/archive/2009/08/26/starter-project-templates-vs-2010-and-net-4-0-series.aspx

I have used this template in the past, but for some reason the computer that I'm currently using does not have it. Actually, when I choose File->New Web Site..., I get a lot less options than what are shown on that site (e.g. I cannot make an "AJAX Server Control").

Can anyone direct me to how I can add these features into Visual Studio? Do I need to install a plugin?

I am using VS2010 with SP1 installed. Windows XP with .NET 4.0 installed.

Thanks.

Upvotes: 0

Views: 206

Answers (2)

Steve B
Steve B

Reputation: 37660

There are some case (Microsoft loves making simple things complex) where the templates are not properly deployed.

You can try to run devenv.exe /setup from an elevated command line. This will rebuild the templates cache. This will extract all the template files from the template archives.

Upvotes: 2

Ryan McDonough
Ryan McDonough

Reputation: 10012

Depending on the options you picked during install you may have a lot less options available.

You may need to install those extra projects, you can either reinstall VS and pick the available options during install or go to File> New Project.. and select the 'Online templates' button on the left and have a search for the project you want to install.

Upvotes: 1

Related Questions