Using ASP.NET MVC From Visual Web Developer Express 2008
Asked Answered
I

4

5

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.

Iolenta answered 30/12, 2008 at 19:45 Comment(0)
I
10

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.

Iolenta answered 30/12, 2008 at 19:51 Comment(0)
P
0

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.

Phoney answered 30/12, 2008 at 19:49 Comment(1)
Actually you are right. The only difference is that solutions in VWD might contain more than one project - it just needs to be "enabled" (well,.. sort of). And that work is being done by Visual C# Express when adding a new Class Library project to it :DIolenta
I
0

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

Iolenta answered 12/5, 2009 at 14:6 Comment(0)
Y
0

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

Yuki answered 25/2, 2010 at 21:54 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.