Heh. I've already set the port that way. And that works in all cases _except_ when launching unit tests. ------Original Message------ From: silky To: Geoff Appleby Cc: ausDotNet ReplyTo: michaelsli...@gmail.com Subject: Re: unit testing in visual studio Sent: Feb 26, 2010 14:39
On Fri, Feb 26, 2010 at 2:38 PM, Geoff Appleby <geoff.appl...@gmail.com> wrote: > Yeah true. I wanted to avoid using IIS though if at all possible. ... I think you've just demonstrated Dave Richards point in the other email thread. Sorry if I didn't make it clear, but in the same settings area, you can hardcode the port (for casini, the inbuilt asp.net webserver), instead of allowing it to be random. > On 2/26/10, silky <michaelsli...@gmail.com> wrote: >> Well, I believe you can read the current "random" port that it wants >> to use from the config (so if you desired, you could do that). >> >> However, you should be able to simply change the project properties so >> that instead of using the inbuilt asp.net webservice, it uses your >> local IIS one. Infact, you can just set the port in the same >> properties area (right click the web project, select "Properties" go >> to the "Web" tab). ... > -- > Geoff Appleby > Blog: http://blogs.crankygoblin.com/blogs/geoff.appleby/ -- silky http://www.programmingbranch.com/ Sent from my BlackBerry Storm