使用 Visual Web Developer Express 2008 中的 ASP.NET MVC

发布于 2024-07-10 05:16:03 字数 95 浏览 5 评论 0原文

我想知道是否有一种方法(即使是手动方法)可以在 Visual Web Developer Express 2008 SP1 下设置带有单元测试的 ASP.NET MVC 项目。

I was wondering if there's a way (even a manual one) to setup an ASP.NET MVC project with unit tests under Visual Web Developer Express 2008 SP1.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

缘字诀 2024-07-17 05:16:03

ASP.NET MVC 1.0(发布版本)与 Visual Web Developer Express 2008 的模板捆绑在一起。但不确定是否需要 SP1。

ASP.NET MVC 1.0 (Release version) comes bundled with templates for Visual Web Developer Express 2008. Not sure if SP1 is required or not, though.

岁月静好 2024-07-17 05:16:03

Visual Web Developer 不支持 C# 测试项目,而 C# 测试项目本质上是 ASP.NET MVC 测试项目。 但是,您可以使用 Visual C# Express 引用包含模型和控制器的程序集来测试您的应用程序。

Visual Web Developer does not support C# test projects, which essentially a ASP.NET MVC test project is. However you can test your application with Visual C# Express referencing the assembly containing the models and controllers.

稳稳的幸福 2024-07-17 05:16:03

一段时间以来,我一直在使用此处描述的解决方案。 它与 Visual Web Developer 一起工作就像一个魅力:D 实际上它的工作方式与 VisualStudio 的完整版本完全相同!

它使您可以立即访问单元测试项目中的 NUnit 框架以及 NUnit Mocks(我知道这不是最好的,但无论如何它都随 NUnit 一起提供,因此没有必要否认它的存在)。

For a while I've been using a solution described here. It works like a charm with Visual Web Developer :D Actually it works exactly like the full version of VisualStudio!

It gives you immediate access to NUnit Framework in your unit test project along with NUnit Mocks (I know it's not the best one but it comes with NUnit anyways so there's no point in denying its existence).

远昼 2024-07-17 05:16:03

您需要 Visual Web Developer Express 2008 SP1,并且根据 VWDExpress 自述文件:要在“文件”菜单上查看“新建项目”和“打开项目”,您必须通过右键单击“文件”菜单,然后单击“自定义...”,选择“命令”选项卡,选择“文件”类别,然后将“新建项目”和“打开项目”拖到“文件”菜单...

You need Visual Web Developer Express 2008 SP1 and, as per the VWDExpress Readme: To see "New Project" and "Open Project" on the File menu, you must manually add these commands to the menu by right-clicking the File menu, clicking "Customize...", selecting the "Commands" tab, selecting the "File" category, and then dragging the "New Project" and "Open Project" to the File menu ...

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文