什么VS 2010项目为纯HTML和JS项目 [英] What VS 2010 project for a plain HTML and JS project

查看:116
本文介绍了什么VS 2010项目为纯HTML和JS项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

VS 2010项目模板将用于纯HTML和JS项目,无ASP或其他代码。只需简单的香草HTML / JS。我正在使用一个空的Web项目(ASP.net空Web应用程序),仍然给我不必要的文件和目录。有什么更好的吗?



这个问题是关于JS扩展的 not ,比如 Visual Studio Javascript扩展功能比较

- 更新至15 。August -



我已经删除了额外的目录和可能的扩展引用。无论何时构建应用程序,都会重新创建 bin 文件夹,但是我可以通过切换构建(配置属性)在解决方案级别解决此问题。 webconfig 是调试所必需的 - 我无法摆脱这个 - 所以这是我得到的最好的。



- obj bin 目录在关闭时重新创建,重新开放VS2010 (准备解决阶段)。所以我必须忍受一些文件/目录的开销。



- 截至18.August -
猜测没有更好的方法,删除为尽可能多地与剩下的垃圾一起生活。

解决方案

Visual Studio Web Development ASP.NET项目创建,但您可以毫无问题地构建 HTML& JS应用程序 * 删除为ASP.NET应用程序创建的额外目录 *,需要这些目录。

最好的问候。
ÁngelManuel。


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

解决方案

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.

这篇关于什么VS 2010项目为纯HTML和JS项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆