Horst Walter
Horst Walter

Reputation: 14081

What VS 2010 project for a plain HTML and JS project

What VS 2010 project template would you use for a plain HTML and JS project, no ASP or other code. Just plain vanilla HTML / JS. I am using an empty Web project ("ASP.net empty Web Application"), still giving me unnecessary files and directories. Is there anything better?

This question is not about extensions for JS, such as Visual Studio Javascript extensions feature comparison .

-- Update as of 15. August --

I have deleted the extra directories and references to the extend possible. The bin folder gets recreated whenever the application is build, but I can solve this on Solution level by switching of the build (Configuration properties). The webconfig is required for debugging - I cannot get rid of this one - so this is the best I get until now.

Damn - obj and bin directories are recreated when closing and re-opening VS2010 (preparing solution stage). So I have to live with some overhead of files / directories.

-- As of 18.August -- Guess there is no better way, delete as much as possible and live with the remaining "trash".

Upvotes: 7

Views: 1900

Answers (3)

Paul Graffam
Paul Graffam

Reputation: 2149

Have you considered creating a web site in visual studio instead of using a web project? File -> New -> Web Site. It's still directed towards asp.net development but it might be more what you are looking for.

Upvotes: 3

user698850
user698850

Reputation:

Visual Studio Web Development is orientated to ASP.NET projects creation, but you can build without any problem, HTML & JS applications *deleting the extra directories* created for ASP.NET apps, which need that.

Best regards. Ángel Manuel.

Upvotes: 4

casraf
casraf

Reputation: 21694

I'd just use a text editor/hilighter like Notepad++ :P

Upvotes: 2

Related Questions