最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - What VS 2010 project for a plain HTML and JS project - Stack Overflow

programmeradmin1浏览0评论

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 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 parison .

-- 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".

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 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 parison .

-- 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".

Share Improve this question edited May 23, 2017 at 10:31 CommunityBot 11 silver badge asked Aug 13, 2011 at 17:25 Horst WalterHorst Walter 14.1k34 gold badges137 silver badges239 bronze badges 3
  • 2 Just delete the extra files :) – Antoine Aubry Commented Aug 13, 2011 at 17:27
  • 1 There's nothing built in that fits that need really. You could always customize a different project once, then store it as a template, if it's a mon thing for you. – Damien_The_Unbeliever Commented Aug 13, 2011 at 17:31
  • I ll crosscheck this, hope the missing file will not cause any side effects. Thanks. – Horst Walter Commented Aug 13, 2011 at 18:11
Add a ment  | 

3 Answers 3

Reset to default 4

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.

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 development but it might be more what you are looking for.

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

发布评论

评论列表(0)

  1. 暂无评论